java.io.Serializable, javax.xml.transform.SourceLocator, LocationProvider, SaxonLocator, EvaluableItem, SequenceIterable, InstructionInfo, org.xml.sax.Locatorpublic class ResolveURI extends SystemFunction
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticPropertiesargumentoperation| Constructor | Description |
|---|---|
ResolveURI() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
checkArguments(ExpressionVisitor visitor) |
Method called during static type checking
|
Expression |
copy() |
Copy an expression.
|
static java.lang.String |
escapeSpaces(java.lang.String s) |
Replace spaces by %20
|
Item |
evaluateItem(XPathContext context) |
Evaluate the function at run-time
|
java.lang.String |
getStaticBaseURI() |
Get the static base URI of the expression
|
static java.lang.String |
tryToExpand(java.lang.String systemId) |
If a system ID can't be parsed as a URL, try to expand it as a relative
URI using the current directory as the base URI.
|
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, display, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluatePendingUpdates, explain, findParentOf, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isUpdatingExpression, iterate, iterateEvents, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, typeErroraddExternalFunctionCallToPathMap, checkArgumentCount, equals, explain, getArguments, getDisplayName, getFunctionName, getNumberOfArguments, hashCode, iterateSubExpressions, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionName, simplify, simplifyArguments, toString, typeCheckclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddContextDocumentArgument, addDocToPathMap, computeCardinality, computeSpecialProperties, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, makeSystemFunction, optimize, setDetails, useContextItemAsDefaultpublic void checkArguments(ExpressionVisitor visitor) throws XPathException
SystemFunctioncheckArguments in class SystemFunctionvisitor - the expression visitorXPathExceptionpublic java.lang.String getStaticBaseURI()
public Expression copy()
copy in class SystemFunctionpublic Item evaluateItem(XPathContext context) throws XPathException
evaluateItem in interface EvaluableItemevaluateItem in class Expressioncontext - The context in which the expression is to be evaluatedXPathException - if any dynamic error occurs evaluating the
expressionpublic static java.lang.String tryToExpand(java.lang.String systemId)
public static java.lang.String escapeSpaces(java.lang.String s)