public class IriToUri extends ScalarSystemFunction
| Modifier and Type | Field and Description |
|---|---|
static boolean[] |
allowedASCII |
ZERO_LENGTH_STRING| Constructor and Description |
|---|
IriToUri() |
| Modifier and Type | Method and Description |
|---|---|
AtomicValue |
evaluate(Item arg,
XPathContext context)
Abstract method that must be supplied in subclasses to perform the evaluation
|
static java.lang.CharSequence |
iriToUri(java.lang.CharSequence s)
Escape special characters in a URI.
|
ZeroOrOne<? extends AtomicValue> |
resultWhenEmpty()
Method that may be supplied in subclasses, to indicate the result that is returned
when an empty sequence is supplied as the argument value.
|
call, makeFunctionCalldependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, importAttributes, isTrustedResultType, makeCall, makeFunction, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getAnnotations, getStringValue, getStringValueCS, isArray, isMap, makeNewContext, simplify, typeCheckgetLength, head, isStreamed, itemAt, iterate, reduce, subsequenceclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, head, itemAt, reduce, subsequencepublic AtomicValue evaluate(Item arg, XPathContext context) throws XPathException
ScalarSystemFunctionevaluate in class ScalarSystemFunctionarg - the supplied argumentcontext - the dynamic contextXPathException - if a dynamic error occurspublic ZeroOrOne<? extends AtomicValue> resultWhenEmpty()
ScalarSystemFunctionresultWhenEmpty in class ScalarSystemFunctionpublic static java.lang.CharSequence iriToUri(java.lang.CharSequence s)
s - the URI to be escapedCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.