org.apache.batik.dom.svg

Class SVGOMGradientElement

public abstract class SVGOMGradientElement extends SVGStylableElement implements SVGGradientElement

This class implements {@link org.w3c.dom.svg.SVGGradientElement}.
Field Summary
protected static AttributeInitializerattributeInitializer
The attribute initializer.
protected SVGOMAnimatedBooleanexternalResourcesRequired
The 'externalResourcesRequired' attribute value.
protected SVGOMAnimatedEnumerationgradientUnits
The 'gradientUnits' attribute value.
protected SVGOMAnimatedStringhref
The 'xlink:href' attribute value.
protected SVGOMAnimatedEnumerationspreadMethod
The 'spreadMethod' attribute value.
protected static String[]SPREAD_METHOD_VALUES
The 'spreadMethod' attribute values.
protected static String[]UNITS_VALUES
The units values.
protected static DoublyIndexedTablexmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.
Constructor Summary
protected SVGOMGradientElement()
Creates a new SVGOMGradientElement object.
protected SVGOMGradientElement(String prefix, AbstractDocument owner)
Creates a new SVGOMGradientElement object.
Method Summary
protected AttributeInitializergetAttributeInitializer()
Returns the AttributeInitializer for this element type.
SVGAnimatedBooleangetExternalResourcesRequired()
DOM: Implements {@link org.w3c.dom.svg.SVGExternalResourcesRequired#getExternalResourcesRequired()}.
SVGAnimatedTransformListgetGradientTransform()
To implement {@link org.w3c.dom.svg.SVGGradientElement#getGradientTransform()}.
SVGAnimatedEnumerationgetGradientUnits()
DOM: Implements {@link org.w3c.dom.svg.SVGGradientElement#getGradientUnits()}.
SVGAnimatedStringgetHref()
DOM: Implements {@link org.w3c.dom.svg.SVGURIReference#getHref()}.
SVGAnimatedEnumerationgetSpreadMethod()
DOM: Implements {@link org.w3c.dom.svg.SVGGradientElement#getSpreadMethod()}.
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.

Field Detail

attributeInitializer

protected static final AttributeInitializer attributeInitializer
The attribute initializer.

externalResourcesRequired

protected SVGOMAnimatedBoolean externalResourcesRequired
The 'externalResourcesRequired' attribute value.

gradientUnits

protected SVGOMAnimatedEnumeration gradientUnits
The 'gradientUnits' attribute value.

href

protected SVGOMAnimatedString href
The 'xlink:href' attribute value.

spreadMethod

protected SVGOMAnimatedEnumeration spreadMethod
The 'spreadMethod' attribute value.

SPREAD_METHOD_VALUES

protected static final String[] SPREAD_METHOD_VALUES
The 'spreadMethod' attribute values.

UNITS_VALUES

protected static final String[] UNITS_VALUES
The units values.

xmlTraitInformation

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

Constructor Detail

SVGOMGradientElement

protected SVGOMGradientElement()
Creates a new SVGOMGradientElement object.

SVGOMGradientElement

protected SVGOMGradientElement(String prefix, AbstractDocument owner)
Creates a new SVGOMGradientElement 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#getExternalResourcesRequired()}.

getGradientTransform

public SVGAnimatedTransformList getGradientTransform()
To implement {@link org.w3c.dom.svg.SVGGradientElement#getGradientTransform()}.

getGradientUnits

public SVGAnimatedEnumeration getGradientUnits()
DOM: Implements {@link org.w3c.dom.svg.SVGGradientElement#getGradientUnits()}.

getHref

public SVGAnimatedString getHref()
DOM: Implements {@link org.w3c.dom.svg.SVGURIReference#getHref()}.

getSpreadMethod

public SVGAnimatedEnumeration getSpreadMethod()
DOM: Implements {@link org.w3c.dom.svg.SVGGradientElement#getSpreadMethod()}.

getTraitInformationTable

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

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.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.