org.apache.xalan.extensions
Class ExtensionHandlerJava
public abstract class ExtensionHandlerJava
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.
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.
|
getFromCache
public Object getFromCache(Object methodKey,
Object objType,
Object[] methodArgs)
Look up the entry in the method cache.
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.
- The given method from the method cache
putToCache
public Object putToCache(Object methodKey,
Object objType,
Object[] methodArgs,
Object methodObj)
Add a new entry into the method cache.
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
Copyright © 2006 Apache XML Project. All Rights Reserved.