org.apache.batik.dom.svg

Class SVGOMFilterElement

public class SVGOMFilterElement extends SVGStylableElement implements SVGFilterElement

This class implements {@link SVGFilterElement}.
Field Summary
protected static AttributeInitializerattributeInitializer
The attribute initializer.
protected SVGOMAnimatedBooleanexternalResourcesRequired
The 'externalResourcesRequired' attribute value.
protected SVGOMAnimatedEnumerationfilterUnits
The 'filterUnits' attribute value.
protected SVGOMAnimatedLengthheight
The 'height' attribute value.
protected SVGOMAnimatedStringhref
The 'xlink:href' attribute value.
protected SVGOMAnimatedEnumerationprimitiveUnits
The 'primitiveUnits' 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 SVGOMFilterElement()
Creates a new SVGOMFilterElement object.
SVGOMFilterElement(String prefix, AbstractDocument owner)
Creates a new SVGOMFilterElement object.
Method Summary
protected AttributeInitializergetAttributeInitializer()
Returns the AttributeInitializer for this element type.
SVGAnimatedBooleangetExternalResourcesRequired()
DOM: Implements {@link org.w3c.dom.svg.SVGExternalResourcesRequired#getExternalResourcesRequired()}.
SVGAnimatedIntegergetFilterResX()
DOM: Implements {@link SVGFilterElement#getFilterResX()}.
SVGAnimatedIntegergetFilterResY()
DOM: Implements {@link SVGFilterElement#getFilterResY()}.
SVGAnimatedEnumerationgetFilterUnits()
DOM: Implements {@link SVGFilterElement#getFilterUnits()}.
SVGAnimatedLengthgetHeight()
DOM: Implements {@link SVGFilterElement#getHeight()}.
SVGAnimatedStringgetHref()
DOM: Implements {@link org.w3c.dom.svg.SVGURIReference#getHref()}.
StringgetLocalName()
DOM: Implements {@link Node#getLocalName()}.
SVGAnimatedEnumerationgetPrimitiveUnits()
DOM: Implements {@link SVGFilterElement#getPrimitiveUnits()}.
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
SVGAnimatedLengthgetWidth()
DOM: Implements {@link SVGFilterElement#getWidth()}.
SVGAnimatedLengthgetX()
DOM: Implements {@link SVGFilterElement#getX()}.
StringgetXMLlang()
DOM: Returns the xml:lang attribute value.
StringgetXMLspace()
DOM: Returns the xml:space attribute value.
SVGAnimatedLengthgetY()
DOM: Implements {@link SVGFilterElement#getY()}.
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetFilterRes(int filterResX, int filterResY)
DOM: Implements {@link SVGFilterElement#setFilterRes(int,int)}.
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.

filterUnits

protected SVGOMAnimatedEnumeration filterUnits
The 'filterUnits' attribute value.

height

protected SVGOMAnimatedLength height
The 'height' attribute value.

href

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

primitiveUnits

protected SVGOMAnimatedEnumeration primitiveUnits
The 'primitiveUnits' 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

SVGOMFilterElement

protected SVGOMFilterElement()
Creates a new SVGOMFilterElement object.

SVGOMFilterElement

public SVGOMFilterElement(String prefix, AbstractDocument owner)
Creates a new SVGOMFilterElement 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 {@link org.w3c.dom.svg.SVGExternalResourcesRequired#getExternalResourcesRequired()}.

getFilterResX

public SVGAnimatedInteger getFilterResX()
DOM: Implements {@link SVGFilterElement#getFilterResX()}.

getFilterResY

public SVGAnimatedInteger getFilterResY()
DOM: Implements {@link SVGFilterElement#getFilterResY()}.

getFilterUnits

public SVGAnimatedEnumeration getFilterUnits()
DOM: Implements {@link SVGFilterElement#getFilterUnits()}.

getHeight

public SVGAnimatedLength getHeight()
DOM: Implements {@link SVGFilterElement#getHeight()}.

getHref

public SVGAnimatedString getHref()
DOM: Implements {@link org.w3c.dom.svg.SVGURIReference#getHref()}.

getLocalName

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

getPrimitiveUnits

public SVGAnimatedEnumeration getPrimitiveUnits()
DOM: Implements {@link SVGFilterElement#getPrimitiveUnits()}.

getTraitInformationTable

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

getWidth

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

getX

public SVGAnimatedLength getX()
DOM: Implements {@link SVGFilterElement#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 {@link SVGFilterElement#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.

setFilterRes

public void setFilterRes(int filterResX, int filterResY)
DOM: Implements {@link SVGFilterElement#setFilterRes(int,int)}.

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