public abstract class ExtensionHandlerJava extends ExtensionHandler
| Modifier and Type | Field and Description |
|---|---|
protected String |
m_className
Extension class name
|
m_namespaceUri, m_scriptLang| Modifier | Constructor and Description |
|---|---|
protected |
ExtensionHandlerJava(String namespaceUri,
String scriptLang,
String className)
Construct a new extension handler given all the information
needed.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getFromCache(Object methodKey,
Object objType,
Object[] methodArgs)
Look up the entry in the method cache.
|
Object |
putToCache(Object methodKey,
Object objType,
Object[] methodArgs,
Object methodObj)
Add a new entry into the method cache.
|
callFunction, callFunction, isElementAvailable, isFunctionAvailable, processElementprotected String m_className
protected ExtensionHandlerJava(String namespaceUri, String scriptLang, String className)
namespaceUri - the extension namespace URI that I'm implementingfuncNames - string containing list of functions of extension NSlang - language of code implementing the extensionsrcURL - 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)scriptLang - the scripting languageclassName - the extension class namepublic Object getFromCache(Object methodKey, Object objType, Object[] methodArgs)
methodKey - A key that uniquely identifies this invocation in
the stylesheet.objType - A Class object or instance object representing the typemethodArgs - An array of the XObject arguments to be used for
function mangling.public Object putToCache(Object methodKey, Object objType, Object[] methodArgs, Object methodObj)
methodKey - A key that uniquely identifies this invocation in
the stylesheet.objType - A Class object or instance object representing the typemethodArgs - An array of the XObject arguments to be used for
function mangling.methodObj - A Class object or instance object representing the methodCopyright © 2017 JBoss by Red Hat. All rights reserved.