net.sf.saxon.expr
public final class UntypedAtomicConverter extends UnaryExpression implements MappingFunction
Constructor Summary | |
---|---|
UntypedAtomicConverter(Expression sequence, AtomicType requiredItemType, boolean allConverted)
Constructor |
Method Summary | |
---|---|
int | computeSpecialProperties()
Determine the special properties of this expression |
protected String | displayOperator(NamePool pool)
Give a string representation of the operator for use in diagnostics |
Item | evaluateItem(XPathContext context)
Evaluate as an Item. |
ItemType | getItemType(TypeHierarchy th)
Determine the data type of the items returned by the expression |
SequenceIterator | iterate(XPathContext context)
Iterate over the sequence of values |
Object | map(Item item, XPathContext context)
Implement the mapping function |
Expression | typeCheck(StaticContext env, ItemType contextItemType)
Type-check the expression |
Parameters: sequence this must be a sequence of atomic values. This is not checked; a ClassCastException will occur if the precondition is not satisfied. requiredItemType the item type to which untypedAtomic items in the sequence should be converted, using the rules for "cast as". allConverted true if the result of this expression is a sequence in which all items belong to the required type
Returns: NON_CREATIVE.
Returns: the operator, as a string
Parameters: th