org.apache.xpath.objects
public class XNull extends XNodeSet
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN, CLASS_UNRESOLVEDVARIABLE
FILTER_ACCEPT, FILTER_REJECT, FILTER_SKIP
Constructor and Description |
---|
XNull()
Create an XObject.
|
Modifier and Type | Method and 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.
|
appendToFsb, boolWithSideEffects, compare, dispatchCharactersEvents, getFresh, getNumberFromNode, getStringFromNode, greaterThan, greaterThanOrEqual, iter, iterRaw, lessThan, lessThanOrEqual, mutableNodeset, nodelist, nodeset, notEquals, numWithSideEffects, object, release, 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
callVisitors, castToType, create, create, deepEquals, destruct, execute, rtf, rtree, rtree, toString
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
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 ? 2006 Apache XML Project. All Rights Reserved.