|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.icl.saxon.expr.Expression | +--com.icl.saxon.expr.Function | +--com.icl.saxon.functions.NamespaceURI
Fields inherited from class com.icl.saxon.expr.Function |
argument |
Fields inherited from class com.icl.saxon.expr.Expression |
staticContext |
Constructor Summary | |
NamespaceURI()
|
Method Summary | |
Value |
evaluate(Context c)
Evaluate in a general context |
java.lang.String |
evaluateAsString(Context c)
Evaluate the function in a string context |
int |
getDataType()
Determine the data type of the expression |
int |
getDependencies()
Determine the dependencies |
java.lang.String |
getName()
Function name (for diagnostics) |
Expression |
reduce(int dep,
Context c)
Reduce the dependencies |
Expression |
simplify()
Simplify and validate. |
Methods inherited from class com.icl.saxon.expr.Function |
addArgument, checkArgumentCount, display, getNumberOfArguments |
Methods inherited from class com.icl.saxon.expr.Expression |
containsReferences, enumerate, evaluateAsBoolean, evaluateAsNodeSet, evaluateAsNumber, getStaticContext, indent, isContextDocumentNodeSet, make, outputStringValue, setStaticContext, usesCurrent |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public NamespaceURI()
Method Detail |
public java.lang.String getName()
getName
in class Function
com.icl.saxon.expr.Function
public int getDataType()
getDataType
in class Expression
public Expression simplify() throws XPathException
simplify
in class Expression
com.icl.saxon.expr.Expression
public java.lang.String evaluateAsString(Context c) throws XPathException
evaluateAsString
in class Expression
com.icl.saxon.expr.Expression
context
- The context in which the expression is to be evaluatedpublic Value evaluate(Context c) throws XPathException
evaluate
in class Expression
com.icl.saxon.expr.Expression
context
- The context in which the expression is to be evaluatedpublic int getDependencies()
getDependencies
in class Expression
public Expression reduce(int dep, Context c) throws XPathException
reduce
in class Expression
com.icl.saxon.expr.Expression
dependencies
- The dependencies to be removed, e.g. Context.VARIABLEScontext
- The context to be used for the partial evaluation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |