org.apache.batik.bridge.svg12

Class DefaultXBLManager.XblChildNodes

protected class DefaultXBLManager.XblChildNodes extends Object implements NodeList

To iterate over the XBL child nodes.
Field Summary
protected Listnodes
The nodes.
protected DefaultXBLManager.XBLRecordrecord
The XBLRecord.
protected intsize
The number of nodes.
Constructor Summary
XblChildNodes(DefaultXBLManager.XBLRecord rec)
Creates a new XblChildNodes.
Method Summary
protected NodecollectXblChildNodes(Node n, Node prev)
Find the XBL child nodes of this element.
NodegetFirstNode()
Returns the first node in the list.
NodegetLastNode()
Returns the last node in the list.
intgetLength()
DOM: Implements {@link org.w3c.dom.NodeList#getLength()}.
voidinvalidate()
Mark the xblNextSibling and xblPreviousSibling variables on each node in the list as invalid, then invalidate the NodeList.
Nodeitem(int index)
DOM: Implements {@link org.w3c.dom.NodeList#item(int)}.
protected voidupdate()
Update the NodeList.

Field Detail

nodes

protected List nodes
The nodes.

record

protected DefaultXBLManager.XBLRecord record
The XBLRecord.

size

protected int size
The number of nodes.

Constructor Detail

XblChildNodes

public XblChildNodes(DefaultXBLManager.XBLRecord rec)
Creates a new XblChildNodes.

Method Detail

collectXblChildNodes

protected Node collectXblChildNodes(Node n, Node prev)
Find the XBL child nodes of this element.

getFirstNode

public Node getFirstNode()
Returns the first node in the list.

getLastNode

public Node getLastNode()
Returns the last node in the list.

getLength

public int getLength()
DOM: Implements {@link org.w3c.dom.NodeList#getLength()}.

invalidate

public void invalidate()
Mark the xblNextSibling and xblPreviousSibling variables on each node in the list as invalid, then invalidate the NodeList.

item

public Node item(int index)
DOM: Implements {@link org.w3c.dom.NodeList#item(int)}.

update

protected void update()
Update the NodeList.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.