org.apache.batik.dom.svg

Class SVGOMScriptElement

public class SVGOMScriptElement extends SVGOMURIReferenceElement implements SVGScriptElement

This class implements {@link org.w3c.dom.svg.SVGScriptElement}.
Field Summary
protected static AttributeInitializerattributeInitializer
The attribute initializer.
protected SVGOMAnimatedBooleanexternalResourcesRequired
The 'externalResourcesRequired' attribute value.
protected static DoublyIndexedTablexmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.
Constructor Summary
protected SVGOMScriptElement()
Creates a new SVGOMScriptElement object.
SVGOMScriptElement(String prefix, AbstractDocument owner)
Creates a new SVGOMScriptElement 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()}.
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
StringgetType()
DOM: Implements {@link SVGScriptElement#getType()}.
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetType(String type)
DOM: Implements {@link SVGScriptElement#setType(String)}.

Field Detail

attributeInitializer

protected static final AttributeInitializer attributeInitializer
The attribute initializer.

externalResourcesRequired

protected SVGOMAnimatedBoolean externalResourcesRequired
The 'externalResourcesRequired' attribute value.

xmlTraitInformation

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

Constructor Detail

SVGOMScriptElement

protected SVGOMScriptElement()
Creates a new SVGOMScriptElement object.

SVGOMScriptElement

public SVGOMScriptElement(String prefix, AbstractDocument owner)
Creates a new SVGOMScriptElement 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()}.

getTraitInformationTable

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

getType

public String getType()
DOM: Implements {@link SVGScriptElement#getType()}.

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.

setType

public void setType(String type)
DOM: Implements {@link SVGScriptElement#setType(String)}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.