|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saxon.value.Value | +--net.sf.saxon.value.SequenceValue | +--net.sf.saxon.value.EmptySequence
An EmptySequence object represents a sequence containing no members.
Method Summary | |
void |
display(int level,
NamePool pool)
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 |
static EmptySequence |
getInstance()
Get the implicit instance of this class |
ItemType |
getItemType()
Determine the item type |
int |
getSpecialProperties()
Get the static properties of this expression (other than its type). |
int |
hashCode()
|
SequenceIterator |
iterate(XPathContext context)
Return an iteration over the sequence |
Methods inherited from class net.sf.saxon.value.SequenceValue |
conversionPreference, convertToJava, evaluateAsString, evaluateItem, getStringValue, itemAt, nodeToJavaPreference |
Methods inherited from class net.sf.saxon.value.Value |
analyze, asItem, asValue, collapseWhitespace, getDependencies, getSubExpressions, inverse, normalizeWhitespace, promote, simplify, stringToNumber, trimWhitespace |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static EmptySequence getInstance()
public SequenceIterator iterate(XPathContext context) throws XPathException
context
- supplies the context for evaluation
XPathException
- if any dynamic error occurs evaluating the
expressionpublic ItemType getItemType()
getItemType
in interface Expression
getItemType
in class SequenceValue
public int getCardinality()
getCardinality
in interface Expression
getCardinality
in class SequenceValue
public int getSpecialProperties()
getSpecialProperties
in interface Expression
getSpecialProperties
in class Value
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
java.lang.ClassCastException
- if the values are not comparablepublic int hashCode()
hashCode
in class java.lang.Object
public boolean effectiveBooleanValue(XPathContext context)
effectiveBooleanValue
in interface Expression
effectiveBooleanValue
in class SequenceValue
context
- The context in which the expression is to be evaluated
public void display(int level, NamePool pool)
display
in interface Expression
display
in class SequenceValue
level
- indentation level for this expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |