|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for connecting extension functions to xalan. Based on ExtensionFunctionHandler
Method Summary | |
java.lang.Object |
callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
java.lang.Class javaClass)
Process a call to a function. |
java.lang.Object |
callJava(java.lang.Object object,
java.lang.String method,
java.lang.Object[] args,
java.lang.Object methodKey)
call the named method on the object that was loaded by eval. |
void |
checkInit()
Make sure the component is initialized |
void |
setScript(java.lang.String lang,
java.lang.String srcURL,
java.lang.String scriptSrc)
Set the script data for this extension NS. |
void |
startupComponent(java.lang.Class classObj)
Start the component up by executing any script that needs to run at startup time. |
Method Detail |
public void checkInit() throws XPathProcessorException
public void startupComponent(java.lang.Class classObj) throws XPathProcessorException
public java.lang.Object callFunction(java.lang.String funcName, java.util.Vector args, java.lang.Object methodKey, java.lang.Class javaClass) throws XPathException
funcName
- Function name.args
- The arguments of the function call.public java.lang.Object callJava(java.lang.Object object, java.lang.String method, java.lang.Object[] args, java.lang.Object methodKey) throws XPathException
object
- ignored - should always be nullpublic void setScript(java.lang.String lang, java.lang.String srcURL, java.lang.String scriptSrc)
lang
- language of the script.srcURL
- value of src attribute (if any) - treated as a URL
or a classname depending on the value of lang. If
srcURL is not null, then scriptSrc is ignored.scriptSrc
- the actual script code (if any)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |