Class SVGOMSymbolElement

All Implemented Interfaces:
Serializable, AnimationTarget, XMLConstants, CSSNavigableNode, CSSStylableElement, NodeEventTarget, ExtendedNode, ExtendedTraitAccess, TraitAccess, NodeXBL, XBLManagerData, CSSConstants, SVGConstants, ElementTraversal, Element, EventTarget, Node, org.w3c.dom.svg.SVGElement, org.w3c.dom.svg.SVGExternalResourcesRequired, org.w3c.dom.svg.SVGFitToViewBox, org.w3c.dom.svg.SVGLangSpace, org.w3c.dom.svg.SVGStylable, org.w3c.dom.svg.SVGSymbolElement

public class SVGOMSymbolElement extends SVGStylableElement implements org.w3c.dom.svg.SVGSymbolElement
This class implements SVGSymbolElement.
See Also:
  • Field Details

    • xmlTraitInformation

      protected static DoublyIndexedTable xmlTraitInformation
      Table mapping XML attribute names to TraitInformation objects.
    • preserveAspectRatio

      protected SVGOMAnimatedPreserveAspectRatio preserveAspectRatio
      The 'preserveAspectRatio' attribute value.
    • attributeInitializer

      protected static final AttributeInitializer attributeInitializer
      The attribute initializer.
    • externalResourcesRequired

      protected SVGOMAnimatedBoolean externalResourcesRequired
      The 'externalResourcesRequired' attribute value.
  • Constructor Details

    • SVGOMSymbolElement

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

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

    • initializeAllLiveAttributes

      protected void initializeAllLiveAttributes()
      Initializes all live attributes for this element.
      Overrides:
      initializeAllLiveAttributes in class SVGStylableElement
    • getLocalName

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

      public String getXMLlang()
      DOM: Returns the xml:lang attribute value.
      Specified by:
      getXMLlang in interface org.w3c.dom.svg.SVGLangSpace
    • setXMLlang

      public void setXMLlang(String lang)
      DOM: Sets the xml:lang attribute value.
      Specified by:
      setXMLlang in interface org.w3c.dom.svg.SVGLangSpace
    • getXMLspace

      public String getXMLspace()
      DOM: Returns the xml:space attribute value.
      Specified by:
      getXMLspace in interface org.w3c.dom.svg.SVGLangSpace
    • setXMLspace

      public void setXMLspace(String space)
      DOM: Sets the xml:space attribute value.
      Specified by:
      setXMLspace in interface org.w3c.dom.svg.SVGLangSpace
    • getZoomAndPan

      public short getZoomAndPan()
      DOM: Implements SVGZoomAndPan.getZoomAndPan().
    • setZoomAndPan

      public void setZoomAndPan(short val)
      DOM: Implements SVGZoomAndPan.getZoomAndPan().
    • getViewBox

      public org.w3c.dom.svg.SVGAnimatedRect getViewBox()
      DOM: Implements SVGFitToViewBox.getViewBox().
      Specified by:
      getViewBox in interface org.w3c.dom.svg.SVGFitToViewBox
    • getPreserveAspectRatio

      public org.w3c.dom.svg.SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
      DOM: Implements SVGFitToViewBox.getPreserveAspectRatio().
      Specified by:
      getPreserveAspectRatio in interface org.w3c.dom.svg.SVGFitToViewBox
    • getExternalResourcesRequired

      public org.w3c.dom.svg.SVGAnimatedBoolean getExternalResourcesRequired()
      DOM: Implements SVGExternalResourcesRequired.
      Specified by:
      getExternalResourcesRequired in interface org.w3c.dom.svg.SVGExternalResourcesRequired
    • 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
    • getTraitInformationTable

      protected DoublyIndexedTable getTraitInformationTable()
      Returns the table of TraitInformation objects for this element.
      Overrides:
      getTraitInformationTable in class SVGStylableElement