@DOMObjectAttribute @DOMNameAttribute(name="SVGStyleElement") public class SVGStyleElement extends SVGElement implements com.aspose.html.dom.runtime.modules.ILinkStyleEx, ILinkStyle
The SVGStyleElement interface corresponds to the ‘style’ element.
SVGElement
Node.Flags
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, flags, nodeDocument, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
EventMap
PropertyChanged
Constructor and Description |
---|
SVGStyleElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
SVGElement class. |
Modifier and Type | Method and Description |
---|---|
String |
getMedia()
Corresponds to attribute ‘media’ on the given element.
|
IStyleSheet |
getSheet()
Gets the associated style sheet.
|
com.aspose.html.dom.css.engine.CSSStyleSheet |
getStyleSheet()
Gets the associated style sheet.
|
String |
getTitle()
Corresponds to attribute ‘title’ on the given element.
|
String |
getType()
Corresponds to attribute ‘type’ on the given element.
|
void |
setMedia(String value)
Corresponds to attribute ‘media’ on the given element.
|
void |
setStyleSheet(com.aspose.html.dom.css.engine.CSSStyleSheet value)
Gets the associated style sheet.
|
void |
setTitle(String value)
Corresponds to attribute ‘title’ on the given element.
|
void |
setType(String value)
Corresponds to attribute ‘type’ on the given element.
|
addSVGAttributeBinding, blur, focus, getClassName_SVGElement_New, getId_SVGElement_New, getOwnerSVGElement, getStyle, getSVGAttributeBindings, getSVGContext, getTabIndex, getViewportElement, isReadOnly, isRendered, setId_SVGElement_New, setTabIndex
attachShadow, equals, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassName, getComputedStyle, getComputedStyle, getData, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNodeName, getNodeType, getOuterHTML, getPrefix, getPreviousElementSibling, getSchemaTypeInfo, getShadowRoot, getStyleContainer, getTag, getTagName, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setData, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOuterHTML, setTextContent
adoptNode, appendChild, cloneNode, deepClone, getBaseURI, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRegisteredObservers, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setNodeValue, setParentNode, setPrefix, toString
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListener
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public SVGStyleElement(com.aspose.html.dom.DOMName name, Document doc)
Initializes a new instance of the SVGElement
class.
name
- The element name.doc
- The document.@DOMNameAttribute(name="type") public String getType()
Corresponds to attribute ‘type’ on the given element.
DOMException
- code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The attribute ‘type’ on the given element.@DOMNameAttribute(name="type") public void setType(String value)
Corresponds to attribute ‘type’ on the given element.
DOMException
- code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The attribute ‘type’ on the given element.@DOMNameAttribute(name="media") public String getMedia()
Corresponds to attribute ‘media’ on the given element.
DOMException
- code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The attribute ‘media’ on the given element.@DOMNameAttribute(name="media") public void setMedia(String value)
Corresponds to attribute ‘media’ on the given element.
DOMException
- code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The attribute ‘media’ on the given element.@DOMNameAttribute(name="title") public String getTitle()
Corresponds to attribute ‘title’ on the given element.
DOMException
- code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The attribute ‘title’ on the given element.@DOMNameAttribute(name="title") public void setTitle(String value)
Corresponds to attribute ‘title’ on the given element.
DOMException
- code DOMException.NO_MODIFICATION_ALLOWED_ERR
.
Raised on an attempt to change the value of a read only attribute.
Value:
The attribute ‘title’ on the given element.public IStyleSheet getSheet()
Gets the associated style sheet.
getSheet
in interface ILinkStyle
public com.aspose.html.dom.css.engine.CSSStyleSheet getStyleSheet()
Gets the associated style sheet.
getStyleSheet
in interface com.aspose.html.dom.runtime.modules.ILinkStyleEx
public void setStyleSheet(com.aspose.html.dom.css.engine.CSSStyleSheet value)
Gets the associated style sheet.
setStyleSheet
in interface com.aspose.html.dom.runtime.modules.ILinkStyleEx