org.apache.batik.dom.xbl

Class GenericXBLManager

public class GenericXBLManager extends Object implements XBLManager

An XBL manager that performs no XBL processing.
Field Summary
protected booleanisProcessing
Whether XBL processing is currently taking place.
Method Summary
ElementgetXblBoundElement(Node n)
Get the bound element whose shadow tree a node resides in.
NodeListgetXblChildNodes(Node n)
Get the list of child nodes of a node in the fully flattened tree.
NodeListgetXblDefinitions(Node n)
Get the xbl:definition elements currently binding an element.
NodegetXblFirstChild(Node n)
Get the first child node of a node in the fully flattened tree.
ElementgetXblFirstElementChild(Node n)
Get the first element child of a node in the fully flattened tree.
NodegetXblLastChild(Node n)
Get the last child node of a node in the fully flattened tree.
ElementgetXblLastElementChild(Node n)
Get the last element child of a node in the fully flattened tree.
ElementgetXblNextElementSibling(Node n)
Get the first element that follows a node in the xblParentNode's xblChildNodes list.
NodegetXblNextSibling(Node n)
Get the node which directly follows a node in thexblParentNode's xblChildNodes list.
NodegetXblParentNode(Node n)
Get the parent of a node in the fully flattened tree.
ElementgetXblPreviousElementSibling(Node n)
Get the first element that precedes the a node in the xblParentNode's xblChildNodes list.
NodegetXblPreviousSibling(Node n)
Get the node which directly precedes a node in the xblParentNode's xblChildNodes list.
NodeListgetXblScopedChildNodes(Node n)
Get the list of child nodes of a node in the fully flattened tree that are within the same shadow scope.
ElementgetXblShadowTree(Node n)
Get the shadow tree of a node.
booleanisProcessing()
Returns whether XBL processing is currently enabled.
voidstartProcessing()
Starts XBL processing on the document.
voidstopProcessing()
Stops XBL processing on the document.

Field Detail

isProcessing

protected boolean isProcessing
Whether XBL processing is currently taking place.

Method Detail

getXblBoundElement

public Element getXblBoundElement(Node n)
Get the bound element whose shadow tree a node resides in.

getXblChildNodes

public NodeList getXblChildNodes(Node n)
Get the list of child nodes of a node in the fully flattened tree.

getXblDefinitions

public NodeList getXblDefinitions(Node n)
Get the xbl:definition elements currently binding an element.

getXblFirstChild

public Node getXblFirstChild(Node n)
Get the first child node of a node in the fully flattened tree.

getXblFirstElementChild

public Element getXblFirstElementChild(Node n)
Get the first element child of a node in the fully flattened tree.

getXblLastChild

public Node getXblLastChild(Node n)
Get the last child node of a node in the fully flattened tree.

getXblLastElementChild

public Element getXblLastElementChild(Node n)
Get the last element child of a node in the fully flattened tree.

getXblNextElementSibling

public Element getXblNextElementSibling(Node n)
Get the first element that follows a node in the xblParentNode's xblChildNodes list.

getXblNextSibling

public Node getXblNextSibling(Node n)
Get the node which directly follows a node in thexblParentNode's xblChildNodes list.

getXblParentNode

public Node getXblParentNode(Node n)
Get the parent of a node in the fully flattened tree.

getXblPreviousElementSibling

public Element getXblPreviousElementSibling(Node n)
Get the first element that precedes the a node in the xblParentNode's xblChildNodes list.

getXblPreviousSibling

public Node getXblPreviousSibling(Node n)
Get the node which directly precedes a node in the xblParentNode's xblChildNodes list.

getXblScopedChildNodes

public NodeList getXblScopedChildNodes(Node n)
Get the list of child nodes of a node in the fully flattened tree that are within the same shadow scope.

getXblShadowTree

public Element getXblShadowTree(Node n)
Get the shadow tree of a node.

isProcessing

public boolean isProcessing()
Returns whether XBL processing is currently enabled.

startProcessing

public void startProcessing()
Starts XBL processing on the document.

stopProcessing

public void stopProcessing()
Stops XBL processing on the document.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.