Nodeset
extends Node
A Nodeset contains zero or more nodes.
Nodeset does not derive from Parent, because it is only a temporary container of nodes.
Constructors
Nodeset other,
Node deep
kids = new org.oXML.xpath.iterator.DynamicNodeset();
if(deep){
for(int i=0; i < other.kids.size(); ++i){
Node kid = other.kids.getNode(i).copy(true);
kids.addNode(kid);
}
}else{
for(int i=0; i < other.kids.size(); ++i){
kids.addNode(other.kids.getNode(i));
}
}
// Log.trace("ctor: "+new Exception().getStackTrace()[2]);
// Log.trace("ctor: "+new Exception().getStackTrace()[3]);
// Log.trace("ctor: "+new Exception().getStackTrace()[4]);
// Log.trace("ctor: "+new Exception().getStackTrace()[5]);
// Log.trace("ctor: "+new Exception().getStackTrace()[6]);
// Log.trace("ctor: "+new Exception().getStackTrace()[7]);
kids = new org.oXML.xpath.iterator.DynamicNodeset();
Type Functions
append(Node child)
append(Nodeset child)
boolean()
Get the Boolean value of this Nodeset.
See also: XPath v1.0 4.3 Boolean Functions
A node-set is true if and only if it is non-empty.
count()
nodes()
Get a nodeset containing the child nodes of this Nodeset, if any.
Returns: This Nodeset.
position(Node child)
Get the position of a Node in this Nodeset
string()
Get the String value of this Nodeset.
See also: XPath v1.0 4.2 String Functions
A node-set is converted to a string by returning the string-value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned.
Functions inherited from Node