org.apache.xpath.objects
Class XNodeSetForDOM
java.lang.Object
|
+--org.apache.xpath.Expression
|
+--org.apache.xpath.objects.XObject
|
+--org.apache.xpath.objects.XNodeSet
|
+--org.apache.xpath.objects.XNodeSetForDOM
- public class XNodeSetForDOM
- extends XNodeSet
This class overrides the XNodeSet#object() method to provide the original
Node object, NodeList object, or NodeIterator.
- See Also:
- Serialized Form
Method Summary |
org.w3c.dom.NodeList |
nodelist()
Cast result object to a nodelist. |
org.w3c.dom.traversal.NodeIterator |
nodeset()
Cast result object to a nodelist. |
java.lang.Object |
object()
Return the original DOM object that the user passed in. |
Methods inherited from class org.apache.xpath.objects.XNodeSet |
allowDetachToRelease,
appendToFsb,
bool,
boolWithSideEffects,
compare,
detach,
dispatchCharactersEvents,
equals,
getDTMMgr,
getNumberFromNode,
getStringFromNode,
getType,
getTypeString,
greaterThan,
greaterThanOrEqual,
iter,
iterRaw,
lessThan,
lessThanOrEqual,
mutableNodeset,
notEquals,
num,
numWithSideEffects,
str,
xstr |
Methods inherited from class org.apache.xpath.objects.XObject |
castToType,
create,
create,
destruct,
execute,
fixupVariables,
rtf,
rtf,
rtree,
rtree,
toString |
Methods inherited from class org.apache.xpath.Expression |
asIterator,
asNode,
assertion,
bool,
canTraverseOutsideSubtree,
error,
execute,
execute,
executeCharsToContentHandler,
isNodesetExpr,
isStableNumber,
num,
setSourceLocator,
warn,
xstr |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
XNodeSetForDOM
public XNodeSetForDOM(org.w3c.dom.Node node,
DTMManager dtmMgr)
XNodeSetForDOM
public XNodeSetForDOM(org.w3c.dom.NodeList nodeList,
XPathContext xctxt)
XNodeSetForDOM
public XNodeSetForDOM(org.w3c.dom.traversal.NodeIterator nodeIter,
XPathContext xctxt)
object
public java.lang.Object object()
- Return the original DOM object that the user passed in. For use primarily
by the extension mechanism.
- Returns:
- The object that this class wraps
- Overrides:
- object in class XObject
nodeset
public org.w3c.dom.traversal.NodeIterator nodeset()
throws javax.xml.transform.TransformerException
- Cast result object to a nodelist. Always issues an error.
- Returns:
- null
- Throws:
- javax.xml.transform.TransformerException -
- Overrides:
- nodeset in class XNodeSet
nodelist
public org.w3c.dom.NodeList nodelist()
throws javax.xml.transform.TransformerException
- Cast result object to a nodelist. Always issues an error.
- Returns:
- null
- Throws:
- javax.xml.transform.TransformerException -
- Overrides:
- nodelist in class XNodeSet
Copyright � 2001 Apache XML Project. All Rights Reserved.