org.exolab.adaptx.xslt.functions

Class SystemFunctionCall


public class SystemFunctionCall
extends XSLTFunction

A implementation of the "system-property" function call
Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/01 07:39:55 $
Author:
Keith Visco

Field Summary

static short
FUNCTION_AVAILABLE
static short
SYSTEM_PROPERTY

Fields inherited from class org.exolab.adaptx.xslt.XSLTFunction

INVALID_NUMBER_PARAMS, XSLT_NAMESPACE

Constructor Summary

SystemFunctionCall(ProcessorState ps)
Creates a new SystemFunctionCall using the default function type (system-property())
SystemFunctionCall(ProcessorState ps, short type)
Creates a new SystemFunctionCall

Method Summary

XPathResult
call(XPathContext context, XPathResult[] args)
Invokes the function and returns the XPath result.

Methods inherited from class org.exolab.adaptx.xslt.XSLTFunction

call, getFunctionName, getNamespaceURI

Methods inherited from class org.exolab.adaptx.xpath.XPathFunction

call, getFunctionName, getNamespaceURI

Field Details

FUNCTION_AVAILABLE

public static final short FUNCTION_AVAILABLE
Field Value:
2

SYSTEM_PROPERTY

public static final short SYSTEM_PROPERTY
Field Value:
1

Constructor Details

SystemFunctionCall

public SystemFunctionCall(ProcessorState ps)
Creates a new SystemFunctionCall using the default function type (system-property())

SystemFunctionCall

public SystemFunctionCall(ProcessorState ps,
                          short type)
Creates a new SystemFunctionCall

Method Details

call

public XPathResult call(XPathContext context,
                        XPathResult[] args)
            throws XPathException
Invokes the function and returns the XPath result.
Overrides:
call in interface XSLTFunction
Parameters:
context - The XPath context
Returns:
An XPath result (not null)
Throws:
XPathException - An error occured while invoking this function