public class GenericXBLManager extends java.lang.Object implements XBLManager
Modifier and Type | Field and Description |
---|---|
protected boolean |
isProcessing
Whether XBL processing is currently taking place.
|
Constructor and Description |
---|
GenericXBLManager() |
Modifier and Type | Method and Description |
---|---|
Element |
getXblBoundElement(Node n)
Get the bound element whose shadow tree a node resides in.
|
NodeList |
getXblChildNodes(Node n)
Get the list of child nodes of a node in the fully flattened tree.
|
NodeList |
getXblDefinitions(Node n)
Get the xbl:definition elements currently binding an element.
|
Node |
getXblFirstChild(Node n)
Get the first child node of a node in the fully flattened tree.
|
Element |
getXblFirstElementChild(Node n)
Get the first element child of a node in the fully flattened tree.
|
Node |
getXblLastChild(Node n)
Get the last child node of a node in the fully flattened tree.
|
Element |
getXblLastElementChild(Node n)
Get the last element child of a node in the fully flattened tree.
|
Element |
getXblNextElementSibling(Node n)
Get the first element that follows a node in the
xblParentNode's xblChildNodes list.
|
Node |
getXblNextSibling(Node n)
Get the node which directly follows a node in thexblParentNode's
xblChildNodes list.
|
Node |
getXblParentNode(Node n)
Get the parent of a node in the fully flattened tree.
|
Element |
getXblPreviousElementSibling(Node n)
Get the first element that precedes the a node in the
xblParentNode's xblChildNodes list.
|
Node |
getXblPreviousSibling(Node n)
Get the node which directly precedes a node in the xblParentNode's
xblChildNodes list.
|
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.
|
Element |
getXblShadowTree(Node n)
Get the shadow tree of a node.
|
boolean |
isProcessing()
Returns whether XBL processing is currently enabled.
|
void |
startProcessing()
Starts XBL processing on the document.
|
void |
stopProcessing()
Stops XBL processing on the document.
|
protected boolean isProcessing
public void startProcessing()
startProcessing
in interface XBLManager
public void stopProcessing()
stopProcessing
in interface XBLManager
public boolean isProcessing()
isProcessing
in interface XBLManager
public Node getXblParentNode(Node n)
getXblParentNode
in interface XBLManager
public NodeList getXblChildNodes(Node n)
getXblChildNodes
in interface XBLManager
public NodeList getXblScopedChildNodes(Node n)
getXblScopedChildNodes
in interface XBLManager
public Node getXblFirstChild(Node n)
getXblFirstChild
in interface XBLManager
public Node getXblLastChild(Node n)
getXblLastChild
in interface XBLManager
public Node getXblPreviousSibling(Node n)
getXblPreviousSibling
in interface XBLManager
public Node getXblNextSibling(Node n)
getXblNextSibling
in interface XBLManager
public Element getXblFirstElementChild(Node n)
getXblFirstElementChild
in interface XBLManager
public Element getXblLastElementChild(Node n)
getXblLastElementChild
in interface XBLManager
public Element getXblPreviousElementSibling(Node n)
getXblPreviousElementSibling
in interface XBLManager
public Element getXblNextElementSibling(Node n)
getXblNextElementSibling
in interface XBLManager
public Element getXblBoundElement(Node n)
getXblBoundElement
in interface XBLManager
public Element getXblShadowTree(Node n)
getXblShadowTree
in interface XBLManager
public NodeList getXblDefinitions(Node n)
getXblDefinitions
in interface XBLManager
Copyright © 2022 Apache Software Foundation. All Rights Reserved.