Package org.apache.xpath.objects
Class XNodeSetForDOM
java.lang.Object
org.apache.xpath.Expression
org.apache.xpath.objects.XObject
org.apache.xpath.axes.NodeSequence
org.apache.xpath.objects.XNodeSet
org.apache.xpath.objects.XNodeSetForDOM
- All Implemented Interfaces:
Serializable,Cloneable,SourceLocator,DTMIterator,PathComponent,ExpressionNode,XPathVisitable
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
-
Field Summary
Fields inherited from class org.apache.xpath.axes.NodeSequence
m_dtmMgr, m_iter, m_last, m_nextFields inherited from class org.apache.xpath.objects.XObject
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN, CLASS_UNRESOLVEDVARIABLE, m_objFields inherited from interface org.apache.xml.dtm.DTMIterator
FILTER_ACCEPT, FILTER_REJECT, FILTER_SKIP -
Constructor Summary
Constructors Constructor Description XNodeSetForDOM(XNodeSet val)Construct a XNodeSet object.XNodeSetForDOM(NodeList nodeList, XPathContext xctxt)XNodeSetForDOM(Node node, DTMManager dtmMgr)XNodeSetForDOM(NodeIterator nodeIter, XPathContext xctxt) -
Method Summary
Methods inherited from class org.apache.xpath.objects.XNodeSet
appendToFsb, bool, boolWithSideEffects, compare, dispatchCharactersEvents, equals, getFresh, getNumberFromNode, getStringFromNode, getType, getTypeString, greaterThan, greaterThanOrEqual, iter, iterRaw, lessThan, lessThanOrEqual, mutableNodeset, notEquals, num, numWithSideEffects, release, str, xstrMethods inherited from class org.apache.xpath.axes.NodeSequence
addNodeInDocOrder, allowDetachToRelease, clone, cloneWithReset, detach, fixupVariables, getAnalysisBits, getAxis, getContainedIter, getCurrentNode, getCurrentPos, getDTM, getDTMManager, getExpandEntityReferences, getIteratorCache, getLength, getRoot, getVector, getWhatToShow, hasCache, isDocOrdered, isFresh, isMutable, item, nextNode, previousNode, reset, runTo, setCurrentPos, setItem, setIter, setObject, setRoot, setShouldCacheNodes, SetVectorMethods inherited from class org.apache.xpath.objects.XObject
callVisitors, castToType, create, create, deepEquals, destruct, error, error, execute, rtf, rtf, rtree, rtree, toStringMethods inherited from class org.apache.xpath.Expression
asIterator, asIteratorRaw, asNode, assertion, bool, canTraverseOutsideSubtree, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, num, warn, xstr
-
Constructor Details
-
XNodeSetForDOM
-
XNodeSetForDOM
Construct a XNodeSet object.- Parameters:
val- Value of the XNodeSet object
-
XNodeSetForDOM
-
XNodeSetForDOM
-
-
Method Details
-
object
Return the original DOM object that the user passed in. For use primarily by the extension mechanism. -
nodeset
Cast result object to a nodelist. Always issues an error.- Overrides:
nodesetin classXNodeSet- Returns:
- null
- Throws:
TransformerException
-
nodelist
Cast result object to a nodelist. Always issues an error.- Overrides:
nodelistin classXNodeSet- Returns:
- null
- Throws:
TransformerException
-