Package org.apache.batik.bridge.svg12
Class DefaultXBLManager.XblChildNodes
- java.lang.Object
-
- org.apache.batik.bridge.svg12.DefaultXBLManager.XblChildNodes
-
- All Implemented Interfaces:
org.w3c.dom.NodeList
- Direct Known Subclasses:
DefaultXBLManager.XblScopedChildNodes
- Enclosing class:
- DefaultXBLManager
protected class DefaultXBLManager.XblChildNodes extends java.lang.Object implements org.w3c.dom.NodeList
To iterate over the XBL child nodes.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List
nodes
The nodes.protected DefaultXBLManager.XBLRecord
record
The XBLRecord.protected int
size
The number of nodes.
-
Constructor Summary
Constructors Constructor Description XblChildNodes(DefaultXBLManager.XBLRecord rec)
Creates a new XblChildNodes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.w3c.dom.Node
collectXblChildNodes(org.w3c.dom.Node n, org.w3c.dom.Node prev)
Find the XBL child nodes of this element.org.w3c.dom.Node
getFirstNode()
Returns the first node in the list.org.w3c.dom.Node
getLastNode()
Returns the last node in the list.int
getLength()
DOM: ImplementsNodeList.getLength()
.void
invalidate()
Mark the xblNextSibling and xblPreviousSibling variables on each node in the list as invalid, then invalidate the NodeList.org.w3c.dom.Node
item(int index)
DOM: ImplementsNodeList.item(int)
.protected void
update()
Update the NodeList.
-
-
-
Field Detail
-
record
protected DefaultXBLManager.XBLRecord record
The XBLRecord.
-
nodes
protected java.util.List nodes
The nodes.
-
size
protected int size
The number of nodes.
-
-
Constructor Detail
-
XblChildNodes
public XblChildNodes(DefaultXBLManager.XBLRecord rec)
Creates a new XblChildNodes.
-
-
Method Detail
-
update
protected void update()
Update the NodeList.
-
collectXblChildNodes
protected org.w3c.dom.Node collectXblChildNodes(org.w3c.dom.Node n, org.w3c.dom.Node prev)
Find the XBL child nodes of this element.
-
invalidate
public void invalidate()
Mark the xblNextSibling and xblPreviousSibling variables on each node in the list as invalid, then invalidate the NodeList.
-
getFirstNode
public org.w3c.dom.Node getFirstNode()
Returns the first node in the list.
-
getLastNode
public org.w3c.dom.Node getLastNode()
Returns the last node in the list.
-
item
public org.w3c.dom.Node item(int index)
DOM: ImplementsNodeList.item(int)
.- Specified by:
item
in interfaceorg.w3c.dom.NodeList
-
getLength
public int getLength()
DOM: ImplementsNodeList.getLength()
.- Specified by:
getLength
in interfaceorg.w3c.dom.NodeList
-
-