|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjd.xml.xpath.object.XObject
jd.xml.xpath.object.XNodeSet
jd.xml.xslt.expr.XResultTreeFragment
A NodeSet constructed by the template of a variable binding element. It consists of a single root node having as its children the sequence of nodes that results from instantiating that template.
| Field Summary |
| Fields inherited from class jd.xml.xpath.object.XNodeSet |
ORDER_CONVERTIBLE, ORDER_COUNTED, ORDER_ORDERED, ORDER_SUMMARIZED, ORDER_UNORDERED |
| Fields inherited from class jd.xml.xpath.object.XObject |
TYPE_BOOLEAN, TYPE_NODESET, TYPE_NUMBER, TYPE_STRING, TYPE_VARIABLE, TYPES |
| Constructor Summary | |
XResultTreeFragment(NodeNamePool nodeNamePool,
ResultTreeRecorder recorder)
Create a XResultTreeFragment. |
|
| Method Summary | |
void |
copyTo(ResultBuilder resultBuilder)
Write the result tree fragment to the given ResultBuilder. |
XPathNode |
getNode(int index)
Return the root node of the result tree fragment. |
boolean |
isEmpty()
Return false. |
int |
size()
Return 1. |
String |
toStringValue()
Return the string content of the result tree fragment. |
String |
toStringValue(int index)
Return the string content of the result tree fragment. |
| Methods inherited from class jd.xml.xpath.object.XNodeSet |
canConvertTo, compare, compare, compare, compare, compare, compare, compare, contains, contains, getNodeSum, getOrdering, getType, indexOf, isOrdered, isOrdered, toBooleanValue, toNodeSet, toNumberValue, toNumberValue, toString, toValue, toValue |
| Methods inherited from class jd.xml.xpath.object.XObject |
compare, equals, getTypeName, getTypeName, hashCode, toXObject |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public XResultTreeFragment(NodeNamePool nodeNamePool,
ResultTreeRecorder recorder)
recorder - a ResultTreeRecorder storing the ResultTree fragment.| Method Detail |
public void copyTo(ResultBuilder resultBuilder)
public int size()
size in class XNodeSetpublic boolean isEmpty()
isEmpty in class XNodeSetpublic String toStringValue()
toStringValue in class XNodeSetpublic String toStringValue(int index)
toStringValue in class XNodeSetpublic XPathNode getNode(int index)
getNode in class XNodeSet
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||