Top Description Fields Constructors Methods
com.sun.org.apache.xpath.internal.functions

public Class FuncSystemProperty

extends FunctionOneArg
Class Inheritance
Imports
com.sun.org.apache.xpath.internal.XPathContext, com.sun.org.apache.xpath.internal.objects.XObject, .XString, com.sun.org.apache.xpath.internal.res.XPATHErrorResources, java.io.BufferedInputStream, .InputStream, java.util.Properties, jdk.xml.internal.SecuritySupport

Execute the SystemProperty() function.

Field Summary

Modifier and TypeField and Description
pack-priv static final long
pack-priv static final String
XSLT_PROPERTIES

The path/filename of the property file: XSLTInfo.properties Maintenance note: see also com.sun.org.apache.xalan.internal.processor.TransformerFactoryImpl.XSLT_PROPERTIES

Inherited from com.sun.org.apache.xpath.internal.functions.FunctionOneArg:
m_arg0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public XObject

Returns:

A valid XObject.
execute
(XPathContext
The current execution context.
xctxt
)

Overrides com.sun.org.apache.xpath.internal.functions.Function.execute.

Execute the function.

private void
loadPropertyFile(Properties
The target property bag the file will be placed into.
target
)

Retrieve a property bundle from XSLT_PROPERTIES

Inherited from com.sun.org.apache.xpath.internal.functions.FunctionOneArg:
callArgVisitorscanTraverseOutsideSubtreecheckNumberArgsdeepEqualsfixupVariablesgetArg0getExpressionreportWrongNumberArgssetArgsetExpression

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.sun.org.apache.xpath.internal.functions.FunctionOneArg.serialVersionUID.

XSLT_PROPERTIESback to summary
pack-priv static final String XSLT_PROPERTIES

The path/filename of the property file: XSLTInfo.properties Maintenance note: see also com.sun.org.apache.xalan.internal.processor.TransformerFactoryImpl.XSLT_PROPERTIES

Constructor Detail

FuncSystemPropertyback to summary
public FuncSystemProperty()

Method Detail

executeback to summary
public XObject execute(XPathContext xctxt) throws TransformerException

Overrides com.sun.org.apache.xpath.internal.functions.Function.execute.

Execute the function. The function must return a valid object.

Parameters
xctxt:XPathContext

The current execution context.

Returns:XObject

A valid XObject.

Exceptions
TransformerException:

Doc from com.sun.org.apache.xpath.internal.Expression.execute.

if a runtime exception occurs.

loadPropertyFileback to summary
private void loadPropertyFile(Properties target)

Retrieve a property bundle from XSLT_PROPERTIES

Parameters
target:Properties

The target property bag the file will be placed into.