org.apache.batik.dom.svg

Class SVGGraphicsElement

public abstract class SVGGraphicsElement extends SVGStylableElement implements SVGMotionAnimatableElement

This class provides a common superclass for all graphics elements.
Field Summary
protected SVGOMAnimatedBooleanexternalResourcesRequired
The 'externalResourcesRequired' attribute value.
protected AffineTransformmotionTransform
Supplemental transformation due to motion animation.
protected SVGOMAnimatedTransformListtransform
The 'transform' attribute value.
protected static DoublyIndexedTablexmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.
Constructor Summary
protected SVGGraphicsElement()
Creates a new SVGGraphicsElement.
protected SVGGraphicsElement(String prefix, AbstractDocument owner)
Creates a new SVGGraphicsElement object.
Method Summary
SVGRectgetBBox()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getBBox()}.
SVGMatrixgetCTM()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getCTM()}.
SVGAnimatedBooleangetExternalResourcesRequired()
DOM: Implements {@link org.w3c.dom.svg.SVGExternalResourcesRequired#getExternalResourcesRequired()}.
SVGElementgetFarthestViewportElement()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getFarthestViewportElement()}.
AffineTransformgetMotionTransform()
Returns the {@link AffineTransform} representing the current motion animation for this element.
SVGElementgetNearestViewportElement()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getNearestViewportElement()}.
SVGStringListgetRequiredExtensions()
DOM: Implements {@link org.w3c.dom.svg.SVGTests#getRequiredExtensions()}.
SVGStringListgetRequiredFeatures()
DOM: Implements {@link org.w3c.dom.svg.SVGTests#getRequiredFeatures()}.
SVGMatrixgetScreenCTM()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getScreenCTM()}.
SVGStringListgetSystemLanguage()
DOM: Implements {@link org.w3c.dom.svg.SVGTests#getSystemLanguage()}.
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
SVGAnimatedTransformListgetTransform()
DOM: Implements {@link org.w3c.dom.svg.SVGTransformable#getTransform()}.
SVGMatrixgetTransformToElement(SVGElement element)
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getTransformToElement(SVGElement)}.
StringgetXMLlang()
DOM: Returns the xml:lang attribute value.
StringgetXMLspace()
DOM: Returns the xml:space attribute value.
booleanhasExtension(String extension)
DOM: Implements {@link org.w3c.dom.svg.SVGTests#hasExtension(String)}.
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
voidsetXMLlang(String lang)
DOM: Sets the xml:lang attribute value.
voidsetXMLspace(String space)
DOM: Sets the xml:space attribute value.
voidupdateOtherValue(String type, AnimatableValue val)
Updates a 'other' animation value in this target.

Field Detail

externalResourcesRequired

protected SVGOMAnimatedBoolean externalResourcesRequired
The 'externalResourcesRequired' attribute value.

motionTransform

protected AffineTransform motionTransform
Supplemental transformation due to motion animation.

transform

protected SVGOMAnimatedTransformList transform
The 'transform' attribute value.

xmlTraitInformation

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

Constructor Detail

SVGGraphicsElement

protected SVGGraphicsElement()
Creates a new SVGGraphicsElement.

SVGGraphicsElement

protected SVGGraphicsElement(String prefix, AbstractDocument owner)
Creates a new SVGGraphicsElement object.

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

Method Detail

getBBox

public SVGRect getBBox()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getBBox()}.

getCTM

public SVGMatrix getCTM()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getCTM()}.

getExternalResourcesRequired

public SVGAnimatedBoolean getExternalResourcesRequired()
DOM: Implements {@link org.w3c.dom.svg.SVGExternalResourcesRequired#getExternalResourcesRequired()}.

getFarthestViewportElement

public SVGElement getFarthestViewportElement()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getFarthestViewportElement()}.

getMotionTransform

public AffineTransform getMotionTransform()
Returns the {@link AffineTransform} representing the current motion animation for this element.

getNearestViewportElement

public SVGElement getNearestViewportElement()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getNearestViewportElement()}.

getRequiredExtensions

public SVGStringList getRequiredExtensions()
DOM: Implements {@link org.w3c.dom.svg.SVGTests#getRequiredExtensions()}.

getRequiredFeatures

public SVGStringList getRequiredFeatures()
DOM: Implements {@link org.w3c.dom.svg.SVGTests#getRequiredFeatures()}.

getScreenCTM

public SVGMatrix getScreenCTM()
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getScreenCTM()}.

getSystemLanguage

public SVGStringList getSystemLanguage()
DOM: Implements {@link org.w3c.dom.svg.SVGTests#getSystemLanguage()}.

getTraitInformationTable

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

getTransform

public SVGAnimatedTransformList getTransform()
DOM: Implements {@link org.w3c.dom.svg.SVGTransformable#getTransform()}.

getTransformToElement

public SVGMatrix getTransformToElement(SVGElement element)
DOM: Implements {@link org.w3c.dom.svg.SVGLocatable#getTransformToElement(SVGElement)}.

getXMLlang

public String getXMLlang()
DOM: Returns the xml:lang attribute value.

getXMLspace

public String getXMLspace()
DOM: Returns the xml:space attribute value.

hasExtension

public boolean hasExtension(String extension)
DOM: Implements {@link org.w3c.dom.svg.SVGTests#hasExtension(String)}.

initializeAllLiveAttributes

protected void initializeAllLiveAttributes()
Initializes all live attributes for this element.

setXMLlang

public void setXMLlang(String lang)
DOM: Sets the xml:lang attribute value.

setXMLspace

public void setXMLspace(String space)
DOM: Sets the xml:space attribute value.

updateOtherValue

public void updateOtherValue(String type, AnimatableValue val)
Updates a 'other' animation value in this target.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.