public class FuncSystemProperty extends FunctionOneArg
Constructor and Description |
---|
FuncSystemProperty() |
Modifier and Type | Method and Description |
---|---|
XObject |
execute(XPathContext xctxt)
Execute the function.
|
void |
loadPropertyFile(String file,
Properties target)
Retrieve a propery bundle from a specified file
|
callArgVisitors, canTraverseOutsideSubtree, checkNumberArgs, deepEquals, fixupVariables, getArg0, getExpression, reportWrongNumberArgs, setArg, setExpression
callVisitors, postCompileStep
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, num, warn, xstr
public XObject execute(XPathContext xctxt) throws TransformerException
execute
in class Function
xctxt
- The current execution context.TransformerException
public void loadPropertyFile(String file, Properties target)
file
- The string name of the property file. The name
should already be fully qualified as path/filenametarget
- The target property bag the file will be placed into.Copyright © 2016 JBoss by Red Hat. All rights reserved.