public abstract class AbstractNamespaceResolver extends java.lang.Object implements NamespaceResolver
NamespaceListeners. To enable listener support call the constructor
with supportListeners set to true. The default
constructor will not enable listener support and all listener related
methods will throw an UnsupportedOperationException in that case.| Constructor and Description |
|---|
AbstractNamespaceResolver()
Deprecated.
Creates a
AbstractNamespaceResolver without listener
support. |
AbstractNamespaceResolver(boolean supportListeners)
Deprecated.
Creates a
AbstractNamespaceResolver with listener support if
supportListeners is set to true. |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(NamespaceListener listener)
Deprecated.
Registers
listener to get notifications when namespace
mappings change. |
void |
removeListener(NamespaceListener listener)
Deprecated.
Removes the
listener from this NamespaceRegistery. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrefix, getURIpublic AbstractNamespaceResolver()
AbstractNamespaceResolver without listener
support.public AbstractNamespaceResolver(boolean supportListeners)
AbstractNamespaceResolver with listener support if
supportListeners is set to true.supportListeners - if true listener are supported by
this instance.public void addListener(NamespaceListener listener)
listener to get notifications when namespace
mappings change.listener - the listener to register.java.lang.UnsupportedOperationException - if listener support is not enabled
for this AbstractNamespaceResolver.public void removeListener(NamespaceListener listener)
listener from this NamespaceRegistery.listener - the listener to remove.java.lang.UnsupportedOperationException - if listener support is not enabled
for this AbstractNamespaceResolver.Copyright © 2010 - 2023 Adobe. All Rights Reserved