|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.extensions.ExtensionNamespacesManager
Used during assembly of a stylesheet to collect the information for each
extension namespace that is required during the transformation process
to generate an ExtensionHandler
.
Constructor Summary | |
ExtensionNamespacesManager()
An ExtensionNamespacesManager is instantiated the first time an extension function or element is found in the stylesheet. |
Method Summary | |
ExtensionNamespaceSupport |
defineJavaNamespace(java.lang.String ns)
For any extension namespace that is not either predefined or defined by a "component" declaration or exslt function declaration, attempt to create an ExtensionNamespaceSuport object for the appropriate Java class or Java package Extension Handler. |
ExtensionNamespaceSupport |
defineJavaNamespace(java.lang.String ns,
java.lang.String classOrPackage)
|
java.util.Vector |
getExtensions()
Get the vector of extension namespaces. |
int |
namespaceIndex(java.lang.String namespace,
java.util.Vector extensions)
Get the index for a namespace entry in the extension namespace Vector, -1 if no such entry yet exists. |
void |
registerExtension(ExtensionNamespaceSupport extNsSpt)
Register the extension namespace for an ElemExtensionDecl or ElemFunction, and prepare a support object to launch the appropriate ExtensionHandler at transformation runtime. |
void |
registerExtension(java.lang.String namespace)
If necessary, register the extension namespace found compiling a function or creating an extension element. |
void |
registerUnregisteredNamespaces()
Attempt to register any unregistered extension namespaces. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ExtensionNamespacesManager()
Method Detail |
public void registerExtension(java.lang.String namespace)
public void registerExtension(ExtensionNamespaceSupport extNsSpt)
public int namespaceIndex(java.lang.String namespace, java.util.Vector extensions)
public java.util.Vector getExtensions()
public void registerUnregisteredNamespaces()
public ExtensionNamespaceSupport defineJavaNamespace(java.lang.String ns)
ns
- The extension namespace URI.public ExtensionNamespaceSupport defineJavaNamespace(java.lang.String ns, java.lang.String classOrPackage)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |