Package org.apache.batik.dom.xbl
Class GenericXBLManager
- java.lang.Object
-
- org.apache.batik.dom.xbl.GenericXBLManager
-
- All Implemented Interfaces:
XBLManager
public class GenericXBLManager extends java.lang.Object implements XBLManager
An XBL manager that performs no XBL processing.- Version:
- $Id: GenericXBLManager.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isProcessing
Whether XBL processing is currently taking place.
-
Constructor Summary
Constructors Constructor Description GenericXBLManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Element
getXblBoundElement(org.w3c.dom.Node n)
Get the bound element whose shadow tree a node resides in.org.w3c.dom.NodeList
getXblChildNodes(org.w3c.dom.Node n)
Get the list of child nodes of a node in the fully flattened tree.org.w3c.dom.NodeList
getXblDefinitions(org.w3c.dom.Node n)
Get the xbl:definition elements currently binding an element.org.w3c.dom.Node
getXblFirstChild(org.w3c.dom.Node n)
Get the first child node of a node in the fully flattened tree.org.w3c.dom.Element
getXblFirstElementChild(org.w3c.dom.Node n)
Get the first element child of a node in the fully flattened tree.org.w3c.dom.Node
getXblLastChild(org.w3c.dom.Node n)
Get the last child node of a node in the fully flattened tree.org.w3c.dom.Element
getXblLastElementChild(org.w3c.dom.Node n)
Get the last element child of a node in the fully flattened tree.org.w3c.dom.Element
getXblNextElementSibling(org.w3c.dom.Node n)
Get the first element that follows a node in the xblParentNode's xblChildNodes list.org.w3c.dom.Node
getXblNextSibling(org.w3c.dom.Node n)
Get the node which directly follows a node in thexblParentNode's xblChildNodes list.org.w3c.dom.Node
getXblParentNode(org.w3c.dom.Node n)
Get the parent of a node in the fully flattened tree.org.w3c.dom.Element
getXblPreviousElementSibling(org.w3c.dom.Node n)
Get the first element that precedes the a node in the xblParentNode's xblChildNodes list.org.w3c.dom.Node
getXblPreviousSibling(org.w3c.dom.Node n)
Get the node which directly precedes a node in the xblParentNode's xblChildNodes list.org.w3c.dom.NodeList
getXblScopedChildNodes(org.w3c.dom.Node n)
Get the list of child nodes of a node in the fully flattened tree that are within the same shadow scope.org.w3c.dom.Element
getXblShadowTree(org.w3c.dom.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.
-
-
-
Method Detail
-
startProcessing
public void startProcessing()
Starts XBL processing on the document.- Specified by:
startProcessing
in interfaceXBLManager
-
stopProcessing
public void stopProcessing()
Stops XBL processing on the document.- Specified by:
stopProcessing
in interfaceXBLManager
-
isProcessing
public boolean isProcessing()
Returns whether XBL processing is currently enabled.- Specified by:
isProcessing
in interfaceXBLManager
-
getXblParentNode
public org.w3c.dom.Node getXblParentNode(org.w3c.dom.Node n)
Get the parent of a node in the fully flattened tree.- Specified by:
getXblParentNode
in interfaceXBLManager
-
getXblChildNodes
public org.w3c.dom.NodeList getXblChildNodes(org.w3c.dom.Node n)
Get the list of child nodes of a node in the fully flattened tree.- Specified by:
getXblChildNodes
in interfaceXBLManager
-
getXblScopedChildNodes
public org.w3c.dom.NodeList getXblScopedChildNodes(org.w3c.dom.Node n)
Get the list of child nodes of a node in the fully flattened tree that are within the same shadow scope.- Specified by:
getXblScopedChildNodes
in interfaceXBLManager
-
getXblFirstChild
public org.w3c.dom.Node getXblFirstChild(org.w3c.dom.Node n)
Get the first child node of a node in the fully flattened tree.- Specified by:
getXblFirstChild
in interfaceXBLManager
-
getXblLastChild
public org.w3c.dom.Node getXblLastChild(org.w3c.dom.Node n)
Get the last child node of a node in the fully flattened tree.- Specified by:
getXblLastChild
in interfaceXBLManager
-
getXblPreviousSibling
public org.w3c.dom.Node getXblPreviousSibling(org.w3c.dom.Node n)
Get the node which directly precedes a node in the xblParentNode's xblChildNodes list.- Specified by:
getXblPreviousSibling
in interfaceXBLManager
-
getXblNextSibling
public org.w3c.dom.Node getXblNextSibling(org.w3c.dom.Node n)
Get the node which directly follows a node in thexblParentNode's xblChildNodes list.- Specified by:
getXblNextSibling
in interfaceXBLManager
-
getXblFirstElementChild
public org.w3c.dom.Element getXblFirstElementChild(org.w3c.dom.Node n)
Get the first element child of a node in the fully flattened tree.- Specified by:
getXblFirstElementChild
in interfaceXBLManager
-
getXblLastElementChild
public org.w3c.dom.Element getXblLastElementChild(org.w3c.dom.Node n)
Get the last element child of a node in the fully flattened tree.- Specified by:
getXblLastElementChild
in interfaceXBLManager
-
getXblPreviousElementSibling
public org.w3c.dom.Element getXblPreviousElementSibling(org.w3c.dom.Node n)
Get the first element that precedes the a node in the xblParentNode's xblChildNodes list.- Specified by:
getXblPreviousElementSibling
in interfaceXBLManager
-
getXblNextElementSibling
public org.w3c.dom.Element getXblNextElementSibling(org.w3c.dom.Node n)
Get the first element that follows a node in the xblParentNode's xblChildNodes list.- Specified by:
getXblNextElementSibling
in interfaceXBLManager
-
getXblBoundElement
public org.w3c.dom.Element getXblBoundElement(org.w3c.dom.Node n)
Get the bound element whose shadow tree a node resides in.- Specified by:
getXblBoundElement
in interfaceXBLManager
-
getXblShadowTree
public org.w3c.dom.Element getXblShadowTree(org.w3c.dom.Node n)
Get the shadow tree of a node.- Specified by:
getXblShadowTree
in interfaceXBLManager
-
getXblDefinitions
public org.w3c.dom.NodeList getXblDefinitions(org.w3c.dom.Node n)
Get the xbl:definition elements currently binding an element.- Specified by:
getXblDefinitions
in interfaceXBLManager
-
-