org.apache.batik.dom.svg

Class SVGOMUseShadowRoot

public class SVGOMUseShadowRoot extends AbstractDocumentFragment implements CSSNavigableNode

This class implements {@link org.w3c.dom.DocumentFragment} interface. It is used to implement the SVG use element behavioUr.
Field Summary
protected ElementcssParentElement
The parent CSS element.
protected booleanisLocal
Indicates if the imported css element is from this document.
Constructor Summary
protected SVGOMUseShadowRoot()
Creates a new DocumentFragment object.
SVGOMUseShadowRoot(AbstractDocument owner, Element parent, boolean isLocal)
Creates a new DocumentFragment object.
Method Summary
NodegetCSSFirstChild()
Returns the CSS first child node of this node.
NodegetCSSLastChild()
Returns the CSS last child of this node.
NodegetCSSNextSibling()
Returns the CSS next sibling node of this node.
NodegetCSSParentNode()
Returns the CSS parent node of this node.
NodegetCSSPreviousSibling()
Returns the CSS previous sibling node of this node.
NodeEventTargetgetParentNodeEventTarget()
Implements {@link org.apache.batik.dom.events.NodeEventTarget#getParentNodeEventTarget()}.
booleanisHiddenFromSelectors()
Returns whether this node is the root of a (conceptual) hidden tree that selectors will not work across.
booleanisReadonly()
Tests whether this node is readonly.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.
voidsetReadonly(boolean v)
Sets this node readonly attribute.

Field Detail

cssParentElement

protected Element cssParentElement
The parent CSS element.

isLocal

protected boolean isLocal
Indicates if the imported css element is from this document.

Constructor Detail

SVGOMUseShadowRoot

protected SVGOMUseShadowRoot()
Creates a new DocumentFragment object.

SVGOMUseShadowRoot

public SVGOMUseShadowRoot(AbstractDocument owner, Element parent, boolean isLocal)
Creates a new DocumentFragment object.

Method Detail

getCSSFirstChild

public Node getCSSFirstChild()
Returns the CSS first child node of this node.

getCSSLastChild

public Node getCSSLastChild()
Returns the CSS last child of this node.

getCSSNextSibling

public Node getCSSNextSibling()
Returns the CSS next sibling node of this node.

getCSSParentNode

public Node getCSSParentNode()
Returns the CSS parent node of this node.

getCSSPreviousSibling

public Node getCSSPreviousSibling()
Returns the CSS previous sibling node of this node.

getParentNodeEventTarget

public NodeEventTarget getParentNodeEventTarget()
Implements {@link org.apache.batik.dom.events.NodeEventTarget#getParentNodeEventTarget()}.

isHiddenFromSelectors

public boolean isHiddenFromSelectors()
Returns whether this node is the root of a (conceptual) hidden tree that selectors will not work across.

isReadonly

public boolean isReadonly()
Tests whether this node is readonly.

newNode

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

setReadonly

public void setReadonly(boolean v)
Sets this node readonly attribute.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.