Package org.apache.batik.bridge.svg12
Class XPathPatternContentSelector.SelectedNodes
- java.lang.Object
-
- org.apache.batik.bridge.svg12.XPathPatternContentSelector.SelectedNodes
-
- All Implemented Interfaces:
org.w3c.dom.NodeList
- Enclosing class:
- XPathPatternContentSelector
protected class XPathPatternContentSelector.SelectedNodes extends java.lang.Object implements org.w3c.dom.NodeList
Implementation of NodeList that contains the nodes that matched this selector.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ArrayList
nodes
The selected nodes.
-
Constructor Summary
Constructors Constructor Description SelectedNodes()
Creates a new SelectedNodes object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
descendantSelected(org.w3c.dom.Node n)
int
getLength()
DOM: ImplementsNodeList.getLength()
.org.w3c.dom.Node
item(int index)
DOM: ImplementsNodeList.item(int)
.protected boolean
update()
protected void
update(org.w3c.dom.Node n)
-
-
-
Method Detail
-
update
protected boolean update()
-
descendantSelected
protected boolean descendantSelected(org.w3c.dom.Node n)
-
update
protected void update(org.w3c.dom.Node n)
-
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
-
-