public interface LoaderRegistry extends Loader
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRegistered(javax.xml.namespace.QName element)
Returns true if the element is registered.
|
void |
registerLoader(javax.xml.namespace.QName element,
TypeLoader<?> loader)
Register a loader.
|
void |
unregisterLoader(javax.xml.namespace.QName element)
Unregister the loader for the supplied element.
|
void registerLoader(javax.xml.namespace.QName element,
TypeLoader<?> loader)
throws java.lang.IllegalStateException
element - the name of the XML global element that this loader can handleloader - a loader that is being contributed to the systemjava.lang.IllegalStateException - if there is already a loader registered for the supplied elementvoid unregisterLoader(javax.xml.namespace.QName element)
element - the element whose loader should be unregisteredboolean isRegistered(javax.xml.namespace.QName element)
element - the element