org.apache.xpath.functions

Class FuncSystemProperty

public class FuncSystemProperty extends FunctionOneArg

Execute the SystemProperty() function.

UNKNOWN: advanced

Method Summary
XObjectexecute(XPathContext xctxt)
Execute the function.
voidloadPropertyFile(String file, Properties target)
Retrieve a propery bundle from a specified file

Method Detail

execute

public XObject execute(XPathContext xctxt)
Execute the function. The function must return a valid object.

Parameters: xctxt The current execution context.

Returns: A valid XObject.

Throws: javax.xml.transform.TransformerException

loadPropertyFile

public void loadPropertyFile(String file, Properties target)
Retrieve a propery bundle from a specified file

Parameters: file The string name of the property file. The name should already be fully qualified as path/filename target The target property bag the file will be placed into.

Copyright B) 2005 Apache XML Project. All Rights Reserved.