org.apache.batik.dom.svg12

Class BindableElement

public class BindableElement extends SVGGraphicsElement

This class implements foreign namespace elements that can be bound with XBL.
Field Summary
protected StringlocalName
The local name of the custom element.
protected StringnamespaceURI
The namespace URI of the custom element.
protected XBLOMShadowTreeElementxblShadowTree
The shadow tree.
Constructor Summary
protected BindableElement()
Creates a new BindableElement object.
BindableElement(String prefix, AbstractDocument owner, String ns, String ln)
Creates a new BindableElement object.
Method Summary
protected AttributeInitializergetAttributeInitializer()
Returns the AttributeInitializer for this element type.
NodegetCSSFirstChild()
Returns the shadow tree.
NodegetCSSLastChild()
Returns the shadow tree.
StringgetLocalName()
DOM: Implements Node#getLocalName().
StringgetNamespaceURI()
DOM: Implements Node#getNamespaceURI().
XBLOMShadowTreeElementgetShadowTree()
Returns the shadow tree for this bindable element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetShadowTree(XBLOMShadowTreeElement s)
Sets the shadow tree for this bindable element.

Field Detail

localName

protected String localName
The local name of the custom element.

namespaceURI

protected String namespaceURI
The namespace URI of the custom element.

xblShadowTree

protected XBLOMShadowTreeElement xblShadowTree
The shadow tree.

Constructor Detail

BindableElement

protected BindableElement()
Creates a new BindableElement object.

BindableElement

public BindableElement(String prefix, AbstractDocument owner, String ns, String ln)
Creates a new BindableElement object.

Parameters: prefix The namespace prefix. owner The owner document. ns The namespace of the custom element. ln The local name of the custom element.

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.

getCSSFirstChild

public Node getCSSFirstChild()
Returns the shadow tree.

getCSSLastChild

public Node getCSSLastChild()
Returns the shadow tree.

getLocalName

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

getNamespaceURI

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

getShadowTree

public XBLOMShadowTreeElement getShadowTree()
Returns the shadow tree for this bindable element.

newNode

protected Node newNode()
Returns a new uninitialized instance of this object's class.

setShadowTree

public void setShadowTree(XBLOMShadowTreeElement s)
Sets the shadow tree for this bindable element.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.