com.icl.saxon.functions

Class SystemProperty


public class SystemProperty
extends Function

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 context)
Evaluate the function
int
getDataType()
Determine the data type of the expression
int
getDependencies()
Get dependencies
String
getName()
static Value
getProperty(String uri, 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, 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 context)
            throws XPathException
Evaluate the function
Overrides:
evaluate in interface Expression

getDataType

public int getDataType()
Determine the data type of the expression
Overrides:
getDataType in interface Expression
Returns:
Value.ANY (meaning not known in advance)

getDependencies

public int getDependencies()
Get dependencies
Overrides:
getDependencies in interface Expression

getName

public String getName()
Overrides:
getName in interface Function

getProperty

public static Value getProperty(String uri,
                                String local)
Here's the real code:

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