org.apache.batik.dom.svg

Class SVGOMSymbolElement

public class SVGOMSymbolElement extends SVGStylableElement implements SVGSymbolElement

This class implements {@link SVGSymbolElement}.
Field Summary
protected static AttributeInitializerattributeInitializer
The attribute initializer.
protected SVGOMAnimatedBooleanexternalResourcesRequired
The 'externalResourcesRequired' attribute value.
protected SVGOMAnimatedPreserveAspectRatiopreserveAspectRatio
The 'preserveAspectRatio' attribute value.
protected static DoublyIndexedTablexmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.
Constructor Summary
protected SVGOMSymbolElement()
Creates a new SVGOMSymbolElement object.
SVGOMSymbolElement(String prefix, AbstractDocument owner)
Creates a new SVGOMSymbolElement object.
Method Summary
protected AttributeInitializergetAttributeInitializer()
Returns the AttributeInitializer for this element type.
SVGAnimatedBooleangetExternalResourcesRequired()
DOM: Implements {@link org.w3c.dom.svg.SVGExternalResourcesRequired}.
StringgetLocalName()
DOM: Implements {@link Node#getLocalName()}.
SVGAnimatedPreserveAspectRatiogetPreserveAspectRatio()
DOM: Implements {@link org.w3c.dom.svg.SVGFitToViewBox#getPreserveAspectRatio()}.
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
SVGAnimatedRectgetViewBox()
DOM: Implements {@link org.w3c.dom.svg.SVGFitToViewBox#getViewBox()}.
StringgetXMLlang()
DOM: Returns the xml:lang attribute value.
StringgetXMLspace()
DOM: Returns the xml:space attribute value.
shortgetZoomAndPan()
DOM: Implements {@link org.w3c.dom.svg.SVGZoomAndPan#getZoomAndPan()}.
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetXMLlang(String lang)
DOM: Sets the xml:lang attribute value.
voidsetXMLspace(String space)
DOM: Sets the xml:space attribute value.
voidsetZoomAndPan(short val)
DOM: Implements {@link org.w3c.dom.svg.SVGZoomAndPan#getZoomAndPan()}.

Field Detail

attributeInitializer

protected static final AttributeInitializer attributeInitializer
The attribute initializer.

externalResourcesRequired

protected SVGOMAnimatedBoolean externalResourcesRequired
The 'externalResourcesRequired' attribute value.

preserveAspectRatio

protected SVGOMAnimatedPreserveAspectRatio preserveAspectRatio
The 'preserveAspectRatio' attribute value.

xmlTraitInformation

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

Constructor Detail

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 Detail

getAttributeInitializer

protected AttributeInitializer getAttributeInitializer()
Returns the AttributeInitializer for this element type.

Returns: null if this element has no attribute with a default value.

getExternalResourcesRequired

public SVGAnimatedBoolean getExternalResourcesRequired()
DOM: Implements {@link org.w3c.dom.svg.SVGExternalResourcesRequired}.

getLocalName

public String getLocalName()
DOM: Implements {@link Node#getLocalName()}.

getPreserveAspectRatio

public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
DOM: Implements {@link org.w3c.dom.svg.SVGFitToViewBox#getPreserveAspectRatio()}.

getTraitInformationTable

protected DoublyIndexedTable getTraitInformationTable()
Returns the table of TraitInformation objects for this element.

getViewBox

public SVGAnimatedRect getViewBox()
DOM: Implements {@link org.w3c.dom.svg.SVGFitToViewBox#getViewBox()}.

getXMLlang

public String getXMLlang()
DOM: Returns the xml:lang attribute value.

getXMLspace

public String getXMLspace()
DOM: Returns the xml:space attribute value.

getZoomAndPan

public short getZoomAndPan()
DOM: Implements {@link org.w3c.dom.svg.SVGZoomAndPan#getZoomAndPan()}.

initializeAllLiveAttributes

protected void initializeAllLiveAttributes()
Initializes all live attributes for this element.

newNode

protected Node newNode()
Returns a new uninitialized instance of this object's class.

setXMLlang

public void setXMLlang(String lang)
DOM: Sets the xml:lang attribute value.

setXMLspace

public void setXMLspace(String space)
DOM: Sets the xml:space attribute value.

setZoomAndPan

public void setZoomAndPan(short val)
DOM: Implements {@link org.w3c.dom.svg.SVGZoomAndPan#getZoomAndPan()}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.