|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.icl.saxon.expr.Expression com.icl.saxon.expr.Function com.icl.saxon.functions.SystemProperty
Field Summary |
Fields inherited from class com.icl.saxon.expr.Function |
argument |
Fields inherited from class com.icl.saxon.expr.Expression |
staticContext |
Constructor Summary | |
SystemProperty()
|
Method Summary | |
Value |
evaluate(Context context)
Evaluate the function |
int |
getDataType()
Determine the data type of the expression |
int |
getDependencies()
Get dependencies |
java.lang.String |
getName()
Get the name of the function. |
static Value |
getProperty(java.lang.String uri,
java.lang.String local)
Here's the real code: |
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, getNumberOfArguments |
Methods inherited from class com.icl.saxon.expr.Expression |
containsReferences, enumerate, evaluateAsBoolean, evaluateAsNodeSet, evaluateAsNumber, evaluateAsString, getStaticContext, indent, isContextDocumentNodeSet, make, outputStringValue, setStaticContext, usesCurrent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SystemProperty()
Method Detail |
public java.lang.String getName()
Function
getName
in class Function
public int getDataType()
getDataType
in class Expression
public Expression simplify() throws XPathException
simplify
in class Expression
XPathException
public Value evaluate(Context context) throws XPathException
evaluate
in class Expression
context
- The context in which the expression is to be evaluated
XPathException
public static Value getProperty(java.lang.String uri, java.lang.String local)
public int getDependencies()
getDependencies
in class Expression
public Expression reduce(int dep, Context c) throws XPathException
reduce
in class Expression
dep
- The dependencies to be removed, e.g. Context.VARIABLESc
- The context to be used for the partial evaluation
XPathException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |