net.sf.saxon.functions

Class SystemProperty

public class SystemProperty extends SystemFunction

Implementation of the XSLT system-property() function
Method Summary
voidcheckArguments(ExpressionVisitor visitor)
ItemevaluateItem(XPathContext context)
Evaluate the function at run-time
static StringgetProperty(String uri, String local, Configuration config)
Here's the real code:
ExpressionpreEvaluate(ExpressionVisitor visitor)
preEvaluate: this method performs compile-time evaluation for properties in the XSLT namespace only

Method Detail

checkArguments

public void checkArguments(ExpressionVisitor visitor)

evaluateItem

public Item evaluateItem(XPathContext context)
Evaluate the function at run-time

getProperty

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

Parameters: uri the namespace URI of the system property name local the local part of the system property name config the Saxon configuration

Returns: the value of the corresponding system property

preEvaluate

public Expression preEvaluate(ExpressionVisitor visitor)
preEvaluate: this method performs compile-time evaluation for properties in the XSLT namespace only

Parameters: visitor an expression visitor