java.io.Serializable
, java.lang.Cloneable
, javax.xml.transform.SourceLocator
, DTMIterator
, PathComponent
, ExpressionNode
, XPathVisitable
public class XNull extends XNodeSet
FILTER_ACCEPT, FILTER_REJECT, FILTER_SKIP
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN, CLASS_UNRESOLVEDVARIABLE
Constructor | Description |
---|---|
XNull() |
Create an XObject.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
bool() |
Cast result object to a boolean.
|
boolean |
equals(XObject obj2) |
Tell if two objects are functionally equal.
|
int |
getType() |
Tell what kind of class this is.
|
java.lang.String |
getTypeString() |
Given a request type, return the equivalent string.
|
double |
num() |
Cast result object to a number.
|
int |
rtf(XPathContext support) |
Cast result object to a result tree fragment.
|
java.lang.String |
str() |
Cast result object to a string.
|
asIterator, asIteratorRaw, asNode, assertion, bool, canTraverseOutsideSubtree, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, warn, xstr
allowDetachToRelease, clone, cloneWithReset, detach, fixupVariables, getAnalysisBits, getAxis, getContainedIter, getCurrentNode, getCurrentPos, getDTM, getDTMManager, getExpandEntityReferences, getLength, getRoot, getWhatToShow, hasCache, isDocOrdered, isFresh, isMutable, item, nextNode, previousNode, reset, runTo, setCurrentPos, setItem, setIter, setRoot, setShouldCacheNodes
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendToFsb, boolWithSideEffects, compare, dispatchCharactersEvents, getFresh, getNumberFromNode, getStringFromNode, greaterThan, greaterThanOrEqual, iter, iterRaw, lessThan, lessThanOrEqual, mutableNodeset, nodelist, nodeset, notEquals, numWithSideEffects, object, release, xstr
callVisitors, castToType, create, create, deepEquals, destruct, execute, rtf, rtree, rtree, toString
public int getType()
public java.lang.String getTypeString()
getTypeString
in class XNodeSet
public double num()
public boolean bool()
public java.lang.String str()
public int rtf(XPathContext support)
Copyright ? 2014 Apache XML Project. All Rights Reserved.