org.apache.batik.dom.svg

Class SVGOMLinearGradientElement

public class SVGOMLinearGradientElement extends SVGOMGradientElement implements SVGLinearGradientElement

This class implements org.w3c.dom.svg.SVGLinearGradientElement.
Field Summary
protected SVGOMAnimatedLengthx1
The 'x1' attribute value.
protected SVGOMAnimatedLengthx2
The 'x2' attribute value.
protected static DoublyIndexedTablexmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.
protected SVGOMAnimatedLengthy1
The 'y1' attribute value.
protected SVGOMAnimatedLengthy2
The 'y2' attribute value.
Constructor Summary
protected SVGOMLinearGradientElement()
Creates a new SVGOMLinearGradientElement object.
SVGOMLinearGradientElement(String prefix, AbstractDocument owner)
Creates a new SVGOMLinearGradientElement object.
Method Summary
StringgetLocalName()
DOM: Implements org.w3c.dom.Node#getLocalName().
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
SVGAnimatedLengthgetX1()
DOM: Implements SVGLinearGradientElement#getX1().
SVGAnimatedLengthgetX2()
DOM: Implements SVGLinearGradientElement#getX2().
SVGAnimatedLengthgetY1()
DOM: Implements SVGLinearGradientElement#getY1().
SVGAnimatedLengthgetY2()
DOM: Implements SVGLinearGradientElement#getY2().
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.

Field Detail

x1

protected SVGOMAnimatedLength x1
The 'x1' attribute value.

x2

protected SVGOMAnimatedLength x2
The 'x2' attribute value.

xmlTraitInformation

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

y1

protected SVGOMAnimatedLength y1
The 'y1' attribute value.

y2

protected SVGOMAnimatedLength y2
The 'y2' attribute value.

Constructor Detail

SVGOMLinearGradientElement

protected SVGOMLinearGradientElement()
Creates a new SVGOMLinearGradientElement object.

SVGOMLinearGradientElement

public SVGOMLinearGradientElement(String prefix, AbstractDocument owner)
Creates a new SVGOMLinearGradientElement object.

Parameters: prefix The namespace prefix. owner The owner document.

Method Detail

getLocalName

public String getLocalName()
DOM: Implements org.w3c.dom.Node#getLocalName().

getTraitInformationTable

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

getX1

public SVGAnimatedLength getX1()
DOM: Implements SVGLinearGradientElement#getX1().

getX2

public SVGAnimatedLength getX2()
DOM: Implements SVGLinearGradientElement#getX2().

getY1

public SVGAnimatedLength getY1()
DOM: Implements SVGLinearGradientElement#getY1().

getY2

public SVGAnimatedLength getY2()
DOM: Implements SVGLinearGradientElement#getY2().

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