|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xalan.extensions.ExtensionsTable
Class holding a table registered extension namespace handlers
Field Summary | |
java.util.Hashtable |
m_extensionFunctionNamespaces
Table of extensions that may be called from the expression language via the call(name, ...) function. |
Constructor Summary | |
ExtensionsTable()
Primes the new ExtensionsTable object with built-in namespaces. |
Method Summary | |
void |
addExtensionNamespace(java.lang.String uri,
ExtensionHandler extNS)
Register an extension namespace handler. |
boolean |
elementAvailable(java.lang.String ns,
java.lang.String elemName)
Execute the element-available() function. |
java.lang.Object |
extFunction(java.lang.String ns,
java.lang.String funcName,
java.util.Vector argVec,
java.lang.Object methodKey,
ExpressionContext exprContext)
Handle an extension function. |
boolean |
functionAvailable(java.lang.String ns,
java.lang.String funcName)
Execute the function-available() function. |
ExtensionHandler |
get(java.lang.String extns)
Get an ExtensionHandler object that represents the given namespace. |
ExtensionHandler |
makeJavaNamespace(java.lang.String ns)
Declare the appropriate java extension handler. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public java.util.Hashtable m_extensionFunctionNamespaces
Constructor Detail |
public ExtensionsTable()
Method Detail |
public ExtensionHandler get(java.lang.String extns)
extns
- A valid extension namespace.public void addExtensionNamespace(java.lang.String uri, ExtensionHandler extNS)
uri
- the URI for the extension.extNS
- the extension handler.public boolean functionAvailable(java.lang.String ns, java.lang.String funcName) throws javax.xml.transform.TransformerException
ns
- the URI of namespace in which the function is neededfuncName
- the function name being testedpublic boolean elementAvailable(java.lang.String ns, java.lang.String elemName) throws javax.xml.transform.TransformerException
ns
- the URI of namespace in which the function is neededfuncName
- the function name being testedelemName
- name of element being testedpublic java.lang.Object extFunction(java.lang.String ns, java.lang.String funcName, java.util.Vector argVec, java.lang.Object methodKey, ExpressionContext exprContext) throws javax.xml.transform.TransformerException
ns
- the URI of namespace in which the function is neededfuncName
- the function name being calledargVec
- arguments to the function in a vectormethodKey
- a unique key identifying this function instance in the
stylesheetexprContext
- a context which may be passed to an extension function
and provides callback functions to access various
areas in the environmentpublic ExtensionHandler makeJavaNamespace(java.lang.String ns) throws javax.xml.transform.TransformerException
ns
- the URI of namespace in which the function is needed
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |