net.sf.saxon.value
public final class EmptySequence extends Value
Method Summary | |
---|---|
void | display(int level, NamePool pool, PrintStream out)
Diagnostic print of expression structure |
boolean | effectiveBooleanValue(XPathContext context)
Get the effective boolean value - always false |
boolean | equals(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(TypeHierarchy th)
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() |
SequenceIterator | iterate(XPathContext context)
Return an iteration over the sequence |
Throws: ClassCastException if the values are not comparable
Parameters: th
Returns: always 0 for an empty sequence