public class SystemProperty extends Function
staticContext| Constructor and Description |
|---|
SystemProperty() |
| Modifier and Type | Method and Description |
|---|---|
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
|
addArgument, checkArgumentCount, display, getNumberOfArgumentscontainsReferences, enumerate, evaluateAsBoolean, evaluateAsNodeSet, evaluateAsNumber, evaluateAsString, getStaticContext, indent, isContextDocumentNodeSet, make, outputStringValue, setStaticContext, usesCurrentpublic java.lang.String getName()
Functionpublic int getDataType()
getDataType in class Expressionpublic Expression simplify() throws XPathException
simplify in class ExpressionXPathExceptionpublic Value evaluate(Context context) throws XPathException
evaluate in class Expressioncontext - The context in which the expression is to be evaluatedXPathExceptionpublic static Value getProperty(java.lang.String uri, java.lang.String local)
public int getDependencies()
getDependencies in class Expressionpublic Expression reduce(int dep, Context c) throws XPathException
reduce in class Expressiondep - The dependencies to be removed, e.g. Context.VARIABLESc - The context to be used for the partial evaluationXPathException