org.apache.batik.dom.svg

Class SVGOMPatternElement

public class SVGOMPatternElement extends SVGStylableElement implements SVGPatternElement

This class implements org.w3c.dom.svg.SVGStopElement.
Field Summary
protected static AttributeInitializerattributeInitializer
The attribute initializer.
protected SVGOMAnimatedBooleanexternalResourcesRequired
The 'externalResourcesRequired' attribute value.
protected SVGOMAnimatedLengthheight
The 'height' attribute value.
protected SVGOMAnimatedStringhref
The 'xlink:href' attribute value.
protected SVGOMAnimatedEnumerationpatternContentUnits
The 'patternContentUnits' attribute value.
protected SVGOMAnimatedEnumerationpatternUnits
The 'patternUnits' attribute value.
protected SVGOMAnimatedPreserveAspectRatiopreserveAspectRatio
The 'preserveAspectRatio' attribute value.
protected static String[]UNITS_VALUES
The units values.
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 SVGOMPatternElement()
Creates a new SVGOMPatternElement object.
SVGOMPatternElement(String prefix, AbstractDocument owner)
Creates a new SVGOMPatternElement object.
Method Summary
protected AttributeInitializergetAttributeInitializer()
Returns the AttributeInitializer for this element type.
SVGAnimatedBooleangetExternalResourcesRequired()
DOM: Implements org.w3c.dom.svg.SVGExternalResourcesRequired#getExternalResourcesRequired().
SVGAnimatedLengthgetHeight()
DOM: Implements org.w3c.dom.svg.SVGPatternElement#getHeight().
SVGAnimatedStringgetHref()
DOM: Implements org.w3c.dom.svg.SVGURIReference#getHref().
StringgetLocalName()
DOM: Implements org.w3c.dom.Node#getLocalName().
SVGAnimatedEnumerationgetPatternContentUnits()
DOM: Implements SVGPatternElement#getPatternContentUnits().
SVGAnimatedTransformListgetPatternTransform()
To implement SVGPatternElement#getPatternTransform().
SVGAnimatedEnumerationgetPatternUnits()
DOM: Implements SVGPatternElement#getPatternUnits().
SVGAnimatedPreserveAspectRatiogetPreserveAspectRatio()
DOM: Implements org.w3c.dom.svg.SVGFitToViewBox#getPreserveAspectRatio().
SVGStringListgetRequiredExtensions()
DOM: Implements org.w3c.dom.svg.SVGTests#getRequiredExtensions().
SVGStringListgetRequiredFeatures()
DOM: Implements org.w3c.dom.svg.SVGTests#getRequiredFeatures().
SVGStringListgetSystemLanguage()
DOM: Implements org.w3c.dom.svg.SVGTests#getSystemLanguage().
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
SVGAnimatedRectgetViewBox()
DOM: Implements org.w3c.dom.svg.SVGFitToViewBox#getViewBox().
SVGAnimatedLengthgetWidth()
DOM: Implements SVGPatternElement#getWidth().
SVGAnimatedLengthgetX()
DOM: Implements SVGPatternElement#getX().
StringgetXMLlang()
DOM: Returns the xml:lang attribute value.
StringgetXMLspace()
DOM: Returns the xml:space attribute value.
SVGAnimatedLengthgetY()
DOM: Implements SVGPatternElement#getY().
booleanhasExtension(String extension)
DOM: Implements org.w3c.dom.svg.SVGTests#hasExtension(String).
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetXMLlang(String lang)
DOM: Sets the xml:lang attribute value.
voidsetXMLspace(String space)
DOM: Sets the xml:space attribute value.

Field Detail

attributeInitializer

protected static final AttributeInitializer attributeInitializer
The attribute initializer.

externalResourcesRequired

protected SVGOMAnimatedBoolean externalResourcesRequired
The 'externalResourcesRequired' attribute value.

height

protected SVGOMAnimatedLength height
The 'height' attribute value.

href

protected SVGOMAnimatedString href
The 'xlink:href' attribute value.

patternContentUnits

protected SVGOMAnimatedEnumeration patternContentUnits
The 'patternContentUnits' attribute value.

patternUnits

protected SVGOMAnimatedEnumeration patternUnits
The 'patternUnits' attribute value.

preserveAspectRatio

protected SVGOMAnimatedPreserveAspectRatio preserveAspectRatio
The 'preserveAspectRatio' attribute value.

UNITS_VALUES

protected static final String[] UNITS_VALUES
The units values.

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

SVGOMPatternElement

protected SVGOMPatternElement()
Creates a new SVGOMPatternElement object.

SVGOMPatternElement

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

getHeight

public SVGAnimatedLength getHeight()
DOM: Implements org.w3c.dom.svg.SVGPatternElement#getHeight().

getHref

public SVGAnimatedString getHref()
DOM: Implements org.w3c.dom.svg.SVGURIReference#getHref().

getLocalName

public String getLocalName()
DOM: Implements org.w3c.dom.Node#getLocalName().

getPatternContentUnits

public SVGAnimatedEnumeration getPatternContentUnits()
DOM: Implements SVGPatternElement#getPatternContentUnits().

getPatternTransform

public SVGAnimatedTransformList getPatternTransform()
To implement SVGPatternElement#getPatternTransform().

getPatternUnits

public SVGAnimatedEnumeration getPatternUnits()
DOM: Implements SVGPatternElement#getPatternUnits().

getPreserveAspectRatio

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

getRequiredExtensions

public SVGStringList getRequiredExtensions()
DOM: Implements org.w3c.dom.svg.SVGTests#getRequiredExtensions().

getRequiredFeatures

public SVGStringList getRequiredFeatures()
DOM: Implements org.w3c.dom.svg.SVGTests#getRequiredFeatures().

getSystemLanguage

public SVGStringList getSystemLanguage()
DOM: Implements org.w3c.dom.svg.SVGTests#getSystemLanguage().

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().

getWidth

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

getX

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

getXMLlang

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

getXMLspace

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

getY

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

hasExtension

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

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.

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.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.