org.apache.batik.bridge.svg12

Class XPathPatternContentSelector.SelectedNodes

protected class XPathPatternContentSelector.SelectedNodes extends Object implements NodeList

Implementation of NodeList that contains the nodes that matched this selector.
Field Summary
protected ArrayListnodes
The selected nodes.
Constructor Summary
SelectedNodes()
Creates a new SelectedNodes object.
Method Summary
protected booleandescendantSelected(Node n)
intgetLength()
DOM: Implements {@link org.w3c.dom.NodeList#getLength()}.
Nodeitem(int index)
DOM: Implements {@link org.w3c.dom.NodeList#item(int)}.
protected booleanupdate()
protected voidupdate(Node n)

Field Detail

nodes

protected ArrayList nodes
The selected nodes.

Constructor Detail

SelectedNodes

public SelectedNodes()
Creates a new SelectedNodes object.

Method Detail

descendantSelected

protected boolean descendantSelected(Node n)

getLength

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

item

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

update

protected boolean update()

update

protected void update(Node n)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.