Package org.apache.xalan.extensions
Class ExtensionHandlerJava
java.lang.Object
org.apache.xalan.extensions.ExtensionHandler
org.apache.xalan.extensions.ExtensionHandlerJava
- Direct Known Subclasses:
ExtensionHandlerJavaClass
,ExtensionHandlerJavaPackage
Abstract base class handling the java language extensions for XPath.
This base class provides cache management shared by all of the
various java extension handlers.
-
Method Summary
Methods inherited from class org.apache.xalan.extensions.ExtensionHandler
callFunction, callFunction, isElementAvailable, isFunctionAvailable, processElement
-
Method Details
-
getFromCache
Look up the entry in the method cache.- Parameters:
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.- Returns:
- The given method from the method cache
-
putToCache
Add a new entry into the method cache.- Parameters:
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 method- Returns:
- The cached method object
-