java.io.Serializable
, javax.xml.transform.SourceLocator
, LocationProvider
, SaxonLocator
, EvaluableItem
, SequenceIterable
, InstructionInfo
, org.xml.sax.Locator
public class ResolveURI extends SystemFunction
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
argument
operation
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, typeError
addExternalFunctionCallToPathMap, checkArgumentCount, equals, explain, getArguments, getDisplayName, getFunctionName, getNumberOfArguments, hashCode, iterateSubExpressions, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionName, simplify, simplifyArguments, toString, typeCheck
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addContextDocumentArgument, addDocToPathMap, computeCardinality, computeSpecialProperties, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, makeSystemFunction, optimize, setDetails, useContextItemAsDefault
public void checkArguments(ExpressionVisitor visitor) throws XPathException
SystemFunction
checkArguments
in class SystemFunction
visitor
- the expression visitorXPathException
public java.lang.String getStaticBaseURI()
public Expression copy()
copy
in class SystemFunction
public Item evaluateItem(XPathContext context) throws XPathException
evaluateItem
in interface EvaluableItem
evaluateItem
in class Expression
context
- 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)