org.apache.batik.dom.svg

Class SVGOMImageElement

public class SVGOMImageElement extends SVGURIReferenceGraphicsElement implements SVGImageElement

This class implements {@link 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 {@link SVGImageElement#getHeight()}.
StringgetLocalName()
DOM: Implements {@link Node#getLocalName()}.
SVGAnimatedPreserveAspectRatiogetPreserveAspectRatio()
DOM: Implements {@link SVGImageElement#getPreserveAspectRatio()}.
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
SVGAnimatedLengthgetWidth()
DOM: Implements {@link SVGImageElement#getWidth()}.
SVGAnimatedLengthgetX()
DOM: Implements {@link SVGImageElement#getX()}.
SVGAnimatedLengthgetY()
DOM: Implements {@link 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 {@link SVGImageElement#getHeight()}.

getLocalName

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

getPreserveAspectRatio

public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
DOM: Implements {@link SVGImageElement#getPreserveAspectRatio()}.

getTraitInformationTable

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

getWidth

public SVGAnimatedLength getWidth()
DOM: Implements {@link SVGImageElement#getWidth()}.

getX

public SVGAnimatedLength getX()
DOM: Implements {@link SVGImageElement#getX()}.

getY

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