java.io.Serializable, javax.xml.transform.SourceLocator, Container, Expression, XSLTFunction, InstructionInfoProviderpublic class UnparsedText extends SystemFunction implements XSLTFunction
| Modifier and Type | Field | Description |
|---|---|---|
(package private) java.lang.String |
expressionBaseURI |
|
static int |
UNPARSED_TEXT |
|
static int |
UNPARSED_TEXT_AVAILABLE |
locationId, staticPropertiesEVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHODargumentoperation| Constructor | Description |
|---|---|
UnparsedText() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
checkArguments(StaticContext env) |
Method called during static type checking
|
Item |
evaluateItem(XPathContext context) |
evaluateItem() handles evaluation of the function:
it returns a String
|
static void |
main(java.lang.String[] args) |
|
Expression |
preEvaluate(StaticContext env) |
preEvaluate: this method suppresses compile-time evaluation by doing nothing
|
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, typeErrorcheckArgumentCount, getArguments, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, promote, replaceSubExpression, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddContextDocumentArgument, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, makeSystemFunction, setDetails, useContextItemAsDefaultjava.lang.String expressionBaseURI
public static final int UNPARSED_TEXT
public static final int UNPARSED_TEXT_AVAILABLE
public void checkArguments(StaticContext env) throws XPathException
SystemFunctioncheckArguments in class SystemFunctionXPathExceptionpublic Expression preEvaluate(StaticContext env)
preEvaluate in class FunctionCallpublic Item evaluateItem(XPathContext context) throws XPathException
evaluateItem in interface ExpressionevaluateItem in class ComputedExpressioncontext - The context in which the expression is to be evaluatedXPathException - if any dynamic error occurs evaluating the
expressionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception