java.beans.PropertyChangeListener, java.util.EventListener, BSFEnginepublic class XSLTEngine extends BSFEngineImpl
classLoader, classPath, declaredBeans, lang, mgr, tempDir| Constructor | Description |
|---|---|
XSLTEngine() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
call(java.lang.Object object,
java.lang.String method,
java.lang.Object[] args) |
call the named method of the given object.
|
void |
declareBean(BSFDeclaredBean bean) |
Declare a bean by setting it as a parameter
|
java.lang.Object |
eval(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object oscript) |
Evaluate an expression.
|
void |
initialize(BSFManager mgr,
java.lang.String lang,
java.util.Vector declaredBeans) |
Initialize the engine.
|
void |
undeclareBean(BSFDeclaredBean bean) |
Undeclare a bean by setting he parameter represeting it to null
|
apply, compileApply, compileExpr, compileScript, exec, iexec, propertyChange, terminatepublic java.lang.Object call(java.lang.Object object,
java.lang.String method,
java.lang.Object[] args)
throws BSFException
object - object on which to make the callmethod - name of the method / procedure to callargs - the arguments to be given to the procedureBSFException - if anything goes wrong while eval'ing a
BSFException is thrown. The reason indicates the problem.public void declareBean(BSFDeclaredBean bean) throws BSFException
declareBean in interface BSFEnginedeclareBean in class BSFEngineImplbean - the bean to declareBSFException - if the engine cannot do this operationpublic java.lang.Object eval(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object oscript)
throws BSFException
source - (context info) the source of this expression
(e.g., filename)lineNo - (context info) the line number in source for exprcolumnNo - (context info) the column number in source for exproscript - the expression to evaluateBSFException - if anything goes wrong while eval'ing a
BSFException is thrown. The reason indicates the problem.public void initialize(BSFManager mgr, java.lang.String lang, java.util.Vector declaredBeans) throws BSFException
initialize in interface BSFEngineinitialize in class BSFEngineImplmgr - The BSFManager that's hosting this engine.lang - Language string which this engine is handling.declaredBeans - Vector of BSFDeclaredObject containing beans
that should be declared into the language runtime at init
time as best as possible.BSFException - if anything goes wrong while init'ing a
BSFException is thrown. The reason indicates the problem.public void undeclareBean(BSFDeclaredBean bean) throws BSFException
undeclareBean in interface BSFEngineundeclareBean in class BSFEngineImplbean - the bean to undeclareBSFException - if the engine cannot do this operation