public class UnparsedText extends UnparsedTextFunction implements PushableFunction
| Constructor and Description |
|---|
UnparsedText() |
| Modifier and Type | Method and Description |
|---|---|
Sequence |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
static StringValue |
evalUnparsedText(StringValue hrefVal,
java.lang.String base,
java.lang.String encoding,
XPathContext context)
Evaluation of the unparsed-text function
|
static void |
main(java.lang.String[] args) |
void |
process(Outputter destination,
XPathContext context,
Sequence[] arguments)
Evaluate the function in "push" mode
|
getAbsoluteURI, getErrorCode, getSpecialProperties, handleIOError, readFile, readFile, readFiledependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getStaticBaseUriString, getStreamerName, getUniStringArg, hashCode, importAttributes, isSequenceVariadic, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getAnnotations, getUnicodeStringValue, isArray, isMap, makeNewContext, simplify, typeCheckclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequenceasIterable, concatenate, containsNode, materializemakeRepeatablepublic Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
call in interface Callablecontext - the dynamic evaluation contextarguments - the values of the arguments, supplied as SequenceIteratorsXPathException - if a dynamic error occurs during the evaluation of the expressionpublic void process(Outputter destination, XPathContext context, Sequence[] arguments) throws XPathException
PushableFunctionprocess in interface PushableFunctiondestination - the destination for the function resultcontext - the dynamic evaluation contextarguments - the supplied arguments to the functionXPathException - if a dynamic error occurs during the evaluationpublic static StringValue evalUnparsedText(StringValue hrefVal, java.lang.String base, java.lang.String encoding, XPathContext context) throws XPathException
hrefVal - the relative URIbase - the base URIencoding - the encoding to be usedcontext - dynamic evaluation contextXPathException - if evaluation failspublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.