| java.lang.Object net.sf.saxon.expr.ComputedExpression net.sf.saxon.expr.UnaryExpression net.sf.saxon.expr.AtomicSequenceConverter
AtomicSequenceConverter | final public class AtomicSequenceConverter extends UnaryExpression implements MappingFunction(Code) | | An AtomicSequenceConverter is an expression that performs a cast on each member of
a supplied sequence
|
AtomicSequenceConverter | public AtomicSequenceConverter(Expression sequence, AtomicType requiredItemType)(Code) | | Constructor
Parameters: sequence - this must be a sequence of atomic values. This is not checked; a ClassCastExceptionwill occur if the precondition is not satisfied. Parameters: requiredItemType - the item type to which all items in the sequence should be converted,using the rules for "cast as". |
computeCardinality | public int computeCardinality()(Code) | | Determine the static cardinality of the expression
|
displayOperator | protected String displayOperator(NamePool pool)(Code) | | Give a string representation of the operator for use in diagnostics
the operator, as a string |
equals | public boolean equals(Object other)(Code) | | Is this expression the same as another expression?
|
evaluateItem | public Item evaluateItem(XPathContext context) throws XPathException(Code) | | Evaluate as an Item. This should only be called if the AtomicSequenceConverter has cardinality zero-or-one
|
getItemType | public ItemType getItemType(TypeHierarchy th)(Code) | | Determine the data type of the items returned by the expression, if possible
a value such as Type.STRING, Type.BOOLEAN, Type.NUMBER, Type.NODE,or Type.ITEM (meaning not known in advance) Parameters: th - |
|
|