org.apache.batik.dom.svg

Class SVGOMGlyphRefElement

public class SVGOMGlyphRefElement extends SVGStylableElement implements SVGGlyphRefElement

This class implements {@link SVGGlyphRefElement}.
Field Summary
protected static AttributeInitializerattributeInitializer
The attribute initializer.
protected SVGOMAnimatedStringhref
The 'xlink:href' attribute value.
Constructor Summary
protected SVGOMGlyphRefElement()
Creates a new SVGOMGlyphRefElement object.
SVGOMGlyphRefElement(String prefix, AbstractDocument owner)
Creates a new SVGOMGlyphRefElement object.
Method Summary
protected AttributeInitializergetAttributeInitializer()
Returns the AttributeInitializer for this element type.
floatgetDx()
DOM: Implements {@link SVGGlyphRefElement#getDx()}.
floatgetDy()
DOM: Implements {@link SVGGlyphRefElement#getDy()}.
StringgetFormat()
DOM: Implements {@link SVGGlyphRefElement#getFormat()}.
StringgetGlyphRef()
DOM: Implements {@link SVGGlyphRefElement#getGlyphRef()}.
SVGAnimatedStringgetHref()
DOM: Implements {@link org.w3c.dom.svg.SVGURIReference#getHref()}.
StringgetLocalName()
DOM: Implements {@link Node#getLocalName()}.
floatgetX()
DOM: Implements {@link SVGGlyphRefElement#getX()}.
floatgetY()
DOM: Implements {@link SVGGlyphRefElement#getY()}.
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetDx(float dx)
DOM: Implements {@link SVGGlyphRefElement#setDx(float)}.
voidsetDy(float dy)
DOM: Implements {@link SVGGlyphRefElement#setDy(float)}.
voidsetFormat(String format)
DOM: Implements {@link SVGGlyphRefElement#setFormat(String)}.
voidsetGlyphRef(String glyphRef)
DOM: Implements {@link SVGGlyphRefElement#setGlyphRef(String)}.
voidsetX(float x)
DOM: Implements {@link SVGGlyphRefElement#setX(float)}.
voidsetY(float y)
DOM: Implements {@link SVGGlyphRefElement#setY(float)}.

Field Detail

attributeInitializer

protected static final AttributeInitializer attributeInitializer
The attribute initializer.

href

protected SVGOMAnimatedString href
The 'xlink:href' attribute value. Note that this attribute not actually animatable, according to SVG 1.1.

Constructor Detail

SVGOMGlyphRefElement

protected SVGOMGlyphRefElement()
Creates a new SVGOMGlyphRefElement object.

SVGOMGlyphRefElement

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

getDx

public float getDx()
DOM: Implements {@link SVGGlyphRefElement#getDx()}.

getDy

public float getDy()
DOM: Implements {@link SVGGlyphRefElement#getDy()}.

getFormat

public String getFormat()
DOM: Implements {@link SVGGlyphRefElement#getFormat()}.

getGlyphRef

public String getGlyphRef()
DOM: Implements {@link SVGGlyphRefElement#getGlyphRef()}.

getHref

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

getLocalName

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

getX

public float getX()
DOM: Implements {@link SVGGlyphRefElement#getX()}.

getY

public float getY()
DOM: Implements {@link SVGGlyphRefElement#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.

setDx

public void setDx(float dx)
DOM: Implements {@link SVGGlyphRefElement#setDx(float)}.

setDy

public void setDy(float dy)
DOM: Implements {@link SVGGlyphRefElement#setDy(float)}.

setFormat

public void setFormat(String format)
DOM: Implements {@link SVGGlyphRefElement#setFormat(String)}.

setGlyphRef

public void setGlyphRef(String glyphRef)
DOM: Implements {@link SVGGlyphRefElement#setGlyphRef(String)}.

setX

public void setX(float x)
DOM: Implements {@link SVGGlyphRefElement#setX(float)}.

setY

public void setY(float y)
DOM: Implements {@link SVGGlyphRefElement#setY(float)}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.