org.apache.batik.dom.svg

Class SVGOMLineElement

public class SVGOMLineElement extends SVGGraphicsElement implements SVGLineElement

This class implements {@link SVGLineElement}.
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 SVGOMLineElement()
Creates a new SVGOMLineElement object.
SVGOMLineElement(String prefix, AbstractDocument owner)
Creates a new SVGOMLineElement object.
Method Summary
StringgetLocalName()
DOM: Implements {@link Node#getLocalName()}.
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
SVGAnimatedLengthgetX1()
DOM: Implements {@link SVGLineElement#getX1()}.
SVGAnimatedLengthgetX2()
DOM: Implements {@link SVGLineElement#getX2()}.
SVGAnimatedLengthgetY1()
DOM: Implements {@link SVGLineElement#getY1()}.
SVGAnimatedLengthgetY2()
DOM: Implements {@link SVGLineElement#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

SVGOMLineElement

protected SVGOMLineElement()
Creates a new SVGOMLineElement object.

SVGOMLineElement

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

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

Method Detail

getLocalName

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

getTraitInformationTable

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

getX1

public SVGAnimatedLength getX1()
DOM: Implements {@link SVGLineElement#getX1()}.

getX2

public SVGAnimatedLength getX2()
DOM: Implements {@link SVGLineElement#getX2()}.

getY1

public SVGAnimatedLength getY1()
DOM: Implements {@link SVGLineElement#getY1()}.

getY2

public SVGAnimatedLength getY2()
DOM: Implements {@link SVGLineElement#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) 2007 Apache Software Foundation. All Rights Reserved.