jd.xml.xslt.expr
Class SystemProperty

java.lang.Object
  extended byjd.xml.xpath.expr.ExpressionImpl
      extended byjd.xml.xpath.expr.StringExpression
          extended byjd.xml.xpath.expr.function.StringFunction
              extended byjd.xml.xslt.expr.SystemProperty
All Implemented Interfaces:
Expression, Function, XsltFunction

public class SystemProperty
extends StringFunction
implements XsltFunction

SystemProperty represents the xslt function "string system-property(string)".


Field Summary
static FunctionType TYPE
          The function type.
static String VENDOR
          The vendor.
static String VENDOR_URL
          The vendor-url.
static double VERSION
          The supported XSLT version.
 
Fields inherited from class jd.xml.xpath.expr.function.StringFunction
arguments_
 
Fields inherited from interface jd.xml.xpath.expr.function.Function
NULL_ARGUMENTS
 
Fields inherited from interface jd.xml.xpath.expr.Expression
DEP_CONTEXT_NODE, DEP_CONTEXT_POSITION, DEP_CONTEXT_SIZE, DEP_CONTEXT_STATIC, DEP_NONE, DEP_UNKNOWN
 
Constructor Summary
SystemProperty()
           
 
Method Summary
 void copyContextParameters(Function function)
           
 int getContextDependencies()
          Return a bitfield indicating the function dependencies.
 FunctionType getFunctionType()
          Return the FunctionType of the Function-
 NamespaceContext getNamespaceContext()
           
 void initContextParameters(StaticExprContext context)
          Set function parameters provided by the given expression context.
static boolean isSupportedVersion(double version)
           
 String toStringValue(XPathContext context)
          Evaluate the Expression to a String.
static XObject toXObject(String namespaceUri, String property)
           
 
Methods inherited from class jd.xml.xpath.expr.function.StringFunction
accept, getArgument, setArguments
 
Methods inherited from class jd.xml.xpath.expr.StringExpression
getResultType, toBooleanValue, toNumberValue, toXObject
 
Methods inherited from class jd.xml.xpath.expr.ExpressionImpl
hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toNodeSet, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jd.xml.xpath.expr.function.Function
getArgument, setArguments
 
Methods inherited from interface jd.xml.xpath.expr.Expression
accept, getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toBooleanValue, toNode, toNodeSet, toNumberValue, toString, toXObject
 

Field Detail

TYPE

public static final FunctionType TYPE
The function type.


VERSION

public static final double VERSION
The supported XSLT version.

See Also:
Constant Field Values

VENDOR

public static final String VENDOR
The vendor.

See Also:
Constant Field Values

VENDOR_URL

public static final String VENDOR_URL
The vendor-url.

See Also:
Constant Field Values
Constructor Detail

SystemProperty

public SystemProperty()
Method Detail

getFunctionType

public FunctionType getFunctionType()
Description copied from interface: Function
Return the FunctionType of the Function-

Specified by:
getFunctionType in interface Function

isSupportedVersion

public static boolean isSupportedVersion(double version)

initContextParameters

public void initContextParameters(StaticExprContext context)
Set function parameters provided by the given expression context.

Specified by:
initContextParameters in interface XsltFunction

copyContextParameters

public void copyContextParameters(Function function)
Specified by:
copyContextParameters in interface XsltFunction

getNamespaceContext

public NamespaceContext getNamespaceContext()

getContextDependencies

public int getContextDependencies()
Return a bitfield indicating the function dependencies.

Specified by:
getContextDependencies in interface Expression
Overrides:
getContextDependencies in class StringFunction

toStringValue

public String toStringValue(XPathContext context)
Description copied from interface: Expression
Evaluate the Expression to a String.

Specified by:
toStringValue in interface Expression
Specified by:
toStringValue in class StringExpression

toXObject

public static XObject toXObject(String namespaceUri,
                                String property)