| java.lang.Object net.sf.saxon.expr.ComputedExpression net.sf.saxon.expr.UnaryExpression net.sf.saxon.expr.UntypedAtomicConverter
UntypedAtomicConverter | final public class UntypedAtomicConverter extends UnaryExpression implements MappingFunction(Code) | | An UntypedAtomicConverter is an expression that converts any untypedAtomic items in
a sequence to a specified type
|
UntypedAtomicConverter | public UntypedAtomicConverter(Expression sequence, AtomicType requiredItemType, boolean allConverted)(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 untypedAtomic items in the sequence should be converted,using the rules for "cast as". Parameters: allConverted - true if the result of this expression is a sequence in which all itemsbelong to the required type |
displayOperator | protected String displayOperator(NamePool pool)(Code) | | Give a string representation of the operator for use in diagnostics
the operator, as a string |
evaluateItem | public Item evaluateItem(XPathContext context) throws XPathException(Code) | | Evaluate as an Item. This should only be called if the UntypedAtomicConverter has cardinality zero-or-one
|
getItemType | public ItemType getItemType(TypeHierarchy th)(Code) | | Determine the data type of the items returned by the expression
Parameters: th - |
|
|