public class CodepointsToString extends SystemFunctionCall implements Callable
operationargumentEFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, WATCH_METHOD| Constructor and Description |
|---|
CodepointsToString() |
| Modifier and Type | Method and Description |
|---|---|
StringValue |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
StringValue |
evaluateItem(XPathContext c)
Evaluate
|
ExpressionCompiler |
getExpressionCompiler()
Return the compiler of the CodepointsToString expression
|
StreamingAdjunct |
getStreamingAdjunct()
Get a class that supports streamed evaluation of this expression
|
Expression |
preEvaluate(ExpressionVisitor visitor)
Pre-evaluate a function at compile time.
|
static CharSequence |
unicodeToString(SequenceIterator chars,
IntPredicate checker)
Return the Unicode string corresponding to a given sequence of Unicode code values
|
addContextDocumentArgument, addDocToPathMap, bindStaticContext, checkArguments, computeCardinality, computeSpecialProperties, copy, equalOrNull, equals, getContextNode, getConvertingCallable, getDefaultArgumentNode, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getImplementationMethod, getItemType, getOperation, getRequiredType, makeSystemFunction, operands, optimize, setDetails, toShortString, useContextItemAsDefaultaddExternalFunctionCallToPathMap, checkArgumentCount, explain, getArguments, getDisplayName, getExpressionName, getFunctionName, getNumberOfArguments, hashCode, promote, replaceOperand, setArguments, setFunctionName, simplifyArguments, toString, typeCheckaddToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, clearStreamabilityData, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getConfiguration, getConstructType, getContainer, getDependencies, getEvaluationMethod, getHostLanguage, getIntegerBounds, getIntrinsicDependencies, getLineNumber, getLocationId, getObjectName, getPosture, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getStreamability, getSweep, getSystemId, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isIdentical, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterate, iterateEvents, makeStreamingAdjunct, markTailFunctionCalls, operandList, process, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setFlattened, setLocationId, setPostureAndSweep, simplify, staticTypeCheck, suppressValidation, toPattern, toStreamingPattern, typeError, unorderedpublic Expression preEvaluate(ExpressionVisitor visitor) throws XPathException
preEvaluate in class FunctionCallvisitor - an expression visitorXPathException - if evaluation failspublic StringValue evaluateItem(XPathContext c) throws XPathException
evaluateItem in class Expressionc - The context in which the expression is to be evaluatedXPathException - if any dynamic error occurs evaluating the
expressionpublic static CharSequence unicodeToString(SequenceIterator chars, IntPredicate checker) throws XPathException
chars - iterator delivering the characters as integer valueschecker - used to test whether a character is valid in the appropriate XML versionXPathException - if any of the integers is not the codepoint of a valid XML characterpublic StringValue call(XPathContext context, Sequence[] arguments) throws XPathException
call in interface Callablecontext - the dynamic evaluation contextarguments - the values of the arguments, supplied as SequencesXPathException - if a dynamic error occurs during the evaluation of the expressionpublic ExpressionCompiler getExpressionCompiler()
getExpressionCompiler in class Expressionpublic StreamingAdjunct getStreamingAdjunct()
ExpressiongetStreamingAdjunct in class ExpressionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.