org.apache.bsf.engines.xslt
Class XSLTEngine
- BSFEngine, java.beans.PropertyChangeListener
Xerces XSLT interface to BSF. Requires Xalan and Xerces from Apache.
This integration uses the BSF registry to pass in any src document
and stylesheet base URI that the user may wish to set.
- Sanjiva Weerawarana
- Sam Ruby
Re-implemented for the Xalan 2 codebase
- Victor J. Orlikowski
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, declareBean, exec, iexec, initialize, propertyChange, terminate, undeclareBean |
call
public java.lang.Object call(java.lang.Object object,
java.lang.String method,
java.lang.Object[] args)
throws BSFException call the named method of the given object.
- call in interface BSFEngine
eval
public java.lang.Object eval(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object oscript)
throws BSFException Evaluate an expression. In this case, an expression is assumed
to be a stylesheet of the template style (see the XSLT spec).
- eval in interface BSFEngine