Class SVGOMStyleElement

All Implemented Interfaces:
Serializable, AnimationTarget, XMLConstants, CSSNavigableNode, CSSStyleSheetNode, NodeEventTarget, ExtendedNode, ExtendedTraitAccess, TraitAccess, NodeXBL, XBLManagerData, CSSConstants, SVGConstants, ElementTraversal, Element, EventTarget, Node, org.w3c.dom.stylesheets.LinkStyle, org.w3c.dom.svg.SVGElement, org.w3c.dom.svg.SVGStyleElement

public class SVGOMStyleElement extends SVGOMElement implements CSSStyleSheetNode, org.w3c.dom.svg.SVGStyleElement, org.w3c.dom.stylesheets.LinkStyle
This class implements SVGStyleElement.
See Also:
  • Field Details

    • attributeInitializer

      protected static final AttributeInitializer attributeInitializer
      The attribute initializer.
    • sheet

      protected transient org.w3c.dom.stylesheets.StyleSheet sheet
      The style sheet.
    • styleSheet

      protected transient StyleSheet styleSheet
      The DOM CSS style-sheet.
    • domCharacterDataModifiedListener

      protected transient EventListener domCharacterDataModifiedListener
      The listener used to track the content changes.
  • Constructor Details

    • SVGOMStyleElement

      protected SVGOMStyleElement()
      Creates a new SVGOMStyleElement object.
    • SVGOMStyleElement

      public SVGOMStyleElement(String prefix, AbstractDocument owner)
      Creates a new SVGOMStyleElement object.
      Parameters:
      prefix - The namespace prefix.
      owner - The owner document.
  • Method Details

    • getLocalName

      public String getLocalName()
      DOM: Implements Node.getLocalName().
      Specified by:
      getLocalName in interface Node
      Overrides:
      getLocalName in class AbstractNode
    • getCSSStyleSheet

      public StyleSheet getCSSStyleSheet()
      Returns the associated style-sheet.
      Specified by:
      getCSSStyleSheet in interface CSSStyleSheetNode
    • getSheet

      public org.w3c.dom.stylesheets.StyleSheet getSheet()
      DOM: Implements LinkStyle.getSheet().
      Specified by:
      getSheet in interface org.w3c.dom.stylesheets.LinkStyle
    • getXMLspace

      public String getXMLspace()
      DOM: Implements SVGStyleElement.getXMLspace().
      Specified by:
      getXMLspace in interface org.w3c.dom.svg.SVGStyleElement
    • setXMLspace

      public void setXMLspace(String space) throws DOMException
      DOM: Implements SVGStyleElement.setXMLspace(String).
      Specified by:
      setXMLspace in interface org.w3c.dom.svg.SVGStyleElement
      Throws:
      DOMException
    • getType

      public String getType()
      DOM: Implements SVGStyleElement.getType().
      Specified by:
      getType in interface org.w3c.dom.svg.SVGStyleElement
    • setType

      public void setType(String type) throws DOMException
      DOM: Implements SVGStyleElement.setType(String).
      Specified by:
      setType in interface org.w3c.dom.svg.SVGStyleElement
      Throws:
      DOMException
    • getMedia

      public String getMedia()
      DOM: Implements SVGStyleElement.getMedia().
      Specified by:
      getMedia in interface org.w3c.dom.svg.SVGStyleElement
    • setMedia

      public void setMedia(String media) throws DOMException
      DOM: Implements SVGStyleElement.setMedia(String).
      Specified by:
      setMedia in interface org.w3c.dom.svg.SVGStyleElement
      Throws:
      DOMException
    • getTitle

      public String getTitle()
      DOM: Implements SVGStyleElement.getTitle().
      Specified by:
      getTitle in interface org.w3c.dom.svg.SVGStyleElement
    • setTitle

      public void setTitle(String title) throws DOMException
      DOM: Implements SVGStyleElement.setTitle(String).
      Specified by:
      setTitle in interface org.w3c.dom.svg.SVGStyleElement
      Throws:
      DOMException
    • getAttributeInitializer

      protected AttributeInitializer getAttributeInitializer()
      Returns the AttributeInitializer for this element type.
      Overrides:
      getAttributeInitializer in class AbstractElement
      Returns:
      null if this element has no attribute with a default value.
    • newNode

      protected Node newNode()
      Returns a new uninitialized instance of this object's class.
      Specified by:
      newNode in class AbstractNode