org.apache.batik.dom.svg

Class SVGOMImageElement

public class SVGOMImageElement extends SVGURIReferenceGraphicsElement implements SVGImageElement

This class implements SVGImageElement.
Field Summary
protected static AttributeInitializerattributeInitializer
The attribute initializer.
protected SVGOMAnimatedLengthheight
The 'height' attribute value.
protected SVGOMAnimatedPreserveAspectRatiopreserveAspectRatio
The 'preserveAspectRatio' attribute value.
protected SVGOMAnimatedLengthwidth
The 'width' attribute value.
protected SVGOMAnimatedLengthx
The 'x' attribute value.
protected static DoublyIndexedTablexmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.
protected SVGOMAnimatedLengthy
The 'y' attribute value.
Constructor Summary
protected SVGOMImageElement()
Creates a new SVGOMImageElement object.
SVGOMImageElement(String prefix, AbstractDocument owner)
Creates a new SVGOMImageElement object.
Method Summary
protected AttributeInitializergetAttributeInitializer()
Returns the AttributeInitializer for this element type.
SVGAnimatedLengthgetHeight()
DOM: Implements SVGImageElement#getHeight().
StringgetLocalName()
DOM: Implements Node#getLocalName().
SVGAnimatedPreserveAspectRatiogetPreserveAspectRatio()
DOM: Implements SVGImageElement#getPreserveAspectRatio().
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
SVGAnimatedLengthgetWidth()
DOM: Implements SVGImageElement#getWidth().
SVGAnimatedLengthgetX()
DOM: Implements SVGImageElement#getX().
SVGAnimatedLengthgetY()
DOM: Implements SVGImageElement#getY().
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.

height

protected SVGOMAnimatedLength height
The 'height' attribute value.

preserveAspectRatio

protected SVGOMAnimatedPreserveAspectRatio preserveAspectRatio
The 'preserveAspectRatio' attribute value.

width

protected SVGOMAnimatedLength width
The 'width' attribute value.

x

protected SVGOMAnimatedLength x
The 'x' attribute value.

xmlTraitInformation

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

y

protected SVGOMAnimatedLength y
The 'y' attribute value.

Constructor Detail

SVGOMImageElement

protected SVGOMImageElement()
Creates a new SVGOMImageElement object.

SVGOMImageElement

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

getHeight

public SVGAnimatedLength getHeight()
DOM: Implements SVGImageElement#getHeight().

getLocalName

public String getLocalName()
DOM: Implements Node#getLocalName().

getPreserveAspectRatio

public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
DOM: Implements SVGImageElement#getPreserveAspectRatio().

getTraitInformationTable

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

getWidth

public SVGAnimatedLength getWidth()
DOM: Implements SVGImageElement#getWidth().

getX

public SVGAnimatedLength getX()
DOM: Implements SVGImageElement#getX().

getY

public SVGAnimatedLength getY()
DOM: Implements SVGImageElement#getY().

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.