java.io.Serializable
, javax.xml.transform.SourceLocator
, Container
, Expression
, InstructionInfoProvider
public class Parse extends SystemFunction
Modifier and Type | Field | Description |
---|---|---|
(package private) java.lang.String |
baseURI |
locationId, staticProperties
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
argument
operation
Constructor | Description |
---|---|
Parse() |
Modifier and Type | Method | Description |
---|---|---|
void |
checkArguments(StaticContext env) |
Method supplied by each class of function to check arguments during parsing, when all
the argument expressions have been read
|
Item |
evaluateItem(XPathContext c) |
Evaluate in a general context
|
Expression |
preEvaluate(StaticContext env) |
Pre-evaluate a function at compile time.
|
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, iterate, markTailFunctionCalls, process, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation, typeError
checkArgumentCount, getArguments, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, promote, replaceSubExpression, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addContextDocumentArgument, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, main, makeSystemFunction, setDetails, useContextItemAsDefault
public void checkArguments(StaticContext env) throws XPathException
checkArguments
in class SystemFunction
XPathException
public Expression preEvaluate(StaticContext env) throws XPathException
preEvaluate
in class FunctionCall
XPathException
public Item evaluateItem(XPathContext c) throws XPathException
evaluateItem
in interface Expression
evaluateItem
in class ComputedExpression
c
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expression