org.apache.batik.bridge.svg12
Class XPathPatternContentSelector.SelectedNodes

java.lang.Object
  extended by org.apache.batik.bridge.svg12.XPathPatternContentSelector.SelectedNodes
All Implemented Interfaces:
NodeList
Enclosing class:
XPathPatternContentSelector

protected class XPathPatternContentSelector.SelectedNodes
extends Object
implements NodeList

Implementation of NodeList that contains the nodes that matched this selector.


Field Summary
protected  ArrayList nodes
          The selected nodes.
 
Constructor Summary
XPathPatternContentSelector.SelectedNodes()
          Creates a new SelectedNodes object.
 
Method Summary
protected  boolean descendantSelected(Node n)
           
 int getLength()
          DOM: Implements NodeList.getLength().
 Node item(int index)
          DOM: Implements NodeList.item(int).
protected  boolean update()
           
protected  void update(Node n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodes

protected ArrayList nodes
The selected nodes.

Constructor Detail

XPathPatternContentSelector.SelectedNodes

public XPathPatternContentSelector.SelectedNodes()
Creates a new SelectedNodes object.

Method Detail

update

protected boolean update()

descendantSelected

protected boolean descendantSelected(Node n)

update

protected void update(Node n)

item

public Node item(int index)
DOM: Implements NodeList.item(int).

Specified by:
item in interface NodeList

getLength

public int getLength()
DOM: Implements NodeList.getLength().

Specified by:
getLength in interface NodeList


Copyright © 2008 Apache Software Foundation. All Rights Reserved.