com.icl.saxon.functions

Class UnparsedEntityURI


public class UnparsedEntityURI
extends Function

Get the factory class for user extension elements

Field Summary

Fields inherited from class com.icl.saxon.expr.Function

argument

Fields inherited from class com.icl.saxon.expr.Expression

staticContext

Method Summary

Value
evaluate(Context c)
Evaluate in a general context
String
evaluateAsString(Context context)
Evaluate the expression in a string context
int
getDataType()
Determine the data type of the expression
int
getDependencies()
Determine which aspects of the context the expression depends on.
String
getName()
Expression
reduce(int dep, Context c)
Remove dependencies.
Expression
simplify()
Validate and simplify

Methods inherited from class com.icl.saxon.expr.Function

addArgument, checkArgumentCount, display, getName, getNumberOfArguments

Methods inherited from class com.icl.saxon.expr.Expression

containsReferences, display, enumerate, evaluate, evaluateAsBoolean, evaluateAsNodeSet, evaluateAsNumber, evaluateAsString, getDataType, getDependencies, getStaticContext, indent, isContextDocumentNodeSet, make, outputStringValue, reduce, setStaticContext, simplify, usesCurrent

Method Details

evaluate

public Value evaluate(Context c)
            throws XPathException
Evaluate in a general context
Overrides:
evaluate in interface Expression

evaluateAsString

public String evaluateAsString(Context context)
            throws XPathException
Evaluate the expression in a string context
Overrides:
evaluateAsString in interface Expression

getDataType

public int getDataType()
Determine the data type of the expression
Overrides:
getDataType in interface Expression
Returns:
Value.STRING

getDependencies

public int getDependencies()
Determine which aspects of the context the expression depends on. The result is a bitwise-or'ed value composed from constants such as Context.VARIABLES and Context.CURRENT_NODE
Overrides:
getDependencies in interface Expression

getName

public String getName()
Overrides:
getName in interface Function

reduce

public Expression reduce(int dep,
                         Context c)
            throws XPathException
Remove dependencies.
Overrides:
reduce in interface Expression

simplify

public Expression simplify()
            throws XPathException
Validate and simplify
Overrides:
simplify in interface Expression