org.apache.batik.dom.svg

Class SVGOMViewElement

public class SVGOMViewElement extends SVGOMElement implements SVGViewElement

This class implements org.w3c.dom.svg.SVGViewElement.
Field Summary
protected static AttributeInitializerattributeInitializer
The attribute initializer.
protected SVGOMAnimatedBooleanexternalResourcesRequired
The 'externalResourcesRequired' attribute value.
protected SVGOMAnimatedPreserveAspectRatiopreserveAspectRatio
The 'preserveAspectRatio' attribute value.
protected static DoublyIndexedTablexmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.
Constructor Summary
protected SVGOMViewElement()
Creates a new SVGOMViewElement object.
SVGOMViewElement(String prefix, AbstractDocument owner)
Creates a new SVGOMSVGElement object.
Method Summary
protected AttributeInitializergetAttributeInitializer()
Returns the AttributeInitializer for this element type.
SVGAnimatedBooleangetExternalResourcesRequired()
DOM: Implements org.w3c.dom.svg.SVGExternalResourcesRequired#getExternalResourcesRequired().
StringgetLocalName()
DOM: Implements Node#getLocalName().
SVGAnimatedPreserveAspectRatiogetPreserveAspectRatio()
DOM: Implements org.w3c.dom.svg.SVGFitToViewBox#getPreserveAspectRatio().
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
SVGAnimatedRectgetViewBox()
DOM: Implements org.w3c.dom.svg.SVGFitToViewBox#getViewBox().
SVGStringListgetViewTarget()
DOM: Implements SVGViewElement#getViewTarget().
shortgetZoomAndPan()
DOM: Implements org.w3c.dom.svg.SVGZoomAndPan#getZoomAndPan().
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetZoomAndPan(short val)
DOM: Implements org.w3c.dom.svg.SVGZoomAndPan#getZoomAndPan().

Field Detail

attributeInitializer

protected static final AttributeInitializer attributeInitializer
The attribute initializer.

externalResourcesRequired

protected SVGOMAnimatedBoolean externalResourcesRequired
The 'externalResourcesRequired' attribute value.

preserveAspectRatio

protected SVGOMAnimatedPreserveAspectRatio preserveAspectRatio
The 'preserveAspectRatio' attribute value.

xmlTraitInformation

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

Constructor Detail

SVGOMViewElement

protected SVGOMViewElement()
Creates a new SVGOMViewElement object.

SVGOMViewElement

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

getExternalResourcesRequired

public SVGAnimatedBoolean getExternalResourcesRequired()
DOM: Implements org.w3c.dom.svg.SVGExternalResourcesRequired#getExternalResourcesRequired().

getLocalName

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

getPreserveAspectRatio

public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio()
DOM: Implements org.w3c.dom.svg.SVGFitToViewBox#getPreserveAspectRatio().

getTraitInformationTable

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

getViewBox

public SVGAnimatedRect getViewBox()
DOM: Implements org.w3c.dom.svg.SVGFitToViewBox#getViewBox().

getViewTarget

public SVGStringList getViewTarget()
DOM: Implements SVGViewElement#getViewTarget().

getZoomAndPan

public short getZoomAndPan()
DOM: Implements org.w3c.dom.svg.SVGZoomAndPan#getZoomAndPan().

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.

setZoomAndPan

public void setZoomAndPan(short val)
DOM: Implements org.w3c.dom.svg.SVGZoomAndPan#getZoomAndPan().
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.