|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.value.Value
net.sf.saxon.value.EmptySequence
An EmptySequence object represents a sequence containing no members.
Field Summary |
Fields inherited from interface net.sf.saxon.expr.Expression |
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
Method Summary | |
void |
display(int level,
NamePool pool,
java.io.PrintStream out)
Diagnostic print of expression structure |
boolean |
effectiveBooleanValue(XPathContext context)
Get the effective boolean value - always false |
boolean |
equals(java.lang.Object other)
Is this expression the same as another expression? |
int |
getCardinality()
Determine the static cardinality |
int |
getImplementationMethod()
An implementation of Expression must provide at least one of the methods evaluateItem(), iterate(), or process(). |
static EmptySequence |
getInstance()
Get the implicit instance of this class |
ItemType |
getItemType()
Determine the item type |
int |
getLength()
Get the length of the sequence |
int |
getSpecialProperties()
Get the static properties of this expression (other than its type). |
int |
hashCode()
Return a hash code to support the equals() function |
SequenceIterator |
iterate(XPathContext context)
Return an iteration over the sequence |
Methods inherited from class net.sf.saxon.value.Value |
analyze, asItem, asValue, checkPermittedContents, collapseWhitespace, convert, convertJavaObjectToXPath, convertToJava, evaluateAsString, evaluateItem, getDependencies, getIterator, getParentExpression, getStringValue, itemAt, iterateSubExpressions, makeQNameValue, normalizeWhitespace, process, promote, simplify, stringToNumber, toString, trimWhitespace |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public static EmptySequence getInstance()
public int getImplementationMethod()
public SequenceIterator iterate(XPathContext context)
context
- supplies the context for evaluation
public ItemType getItemType()
getItemType
in interface Expression
getItemType
in class Value
public int getCardinality()
getCardinality
in interface Expression
getCardinality
in class Value
public int getSpecialProperties()
getSpecialProperties
in interface Expression
getSpecialProperties
in class Value
StaticProperty.NON_CREATIVE
public final int getLength()
getLength
in class Value
public boolean equals(java.lang.Object other)
equals
in class Value
java.lang.ClassCastException
- if the values are not comparablepublic int hashCode()
Value
hashCode
in class Value
public boolean effectiveBooleanValue(XPathContext context)
effectiveBooleanValue
in interface Expression
effectiveBooleanValue
in class Value
context
- The context in which the expression is to be evaluated
public void display(int level, NamePool pool, java.io.PrintStream out)
display
in interface Expression
display
in class Value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |