public static final class SetAttribute.ExtensionRegistry extends Object implements SetAttribute.ExtensionFactory
This class is thread-safe.
Constructor and Description |
---|
ExtensionRegistry()
Constructs the extension registry.
|
Modifier and Type | Method and Description |
---|---|
SetAttribute.Extension |
getExtension(Element element,
Name attributeName)
Returns the extension which may be used to edit specified attribute.
|
void |
registerExtension(SetAttribute.Extension ext)
Register specified extension with this class.
|
void |
unregisterAll()
Unregister all registered extensions.
|
public void registerExtension(SetAttribute.Extension ext)
public void unregisterAll()
public SetAttribute.Extension getExtension(Element element, Name attributeName)
null
if there is no such extension,
in which case the stock facilities are used.getExtension
in interface SetAttribute.ExtensionFactory
registerExtension(com.xmlmind.xmledit.cmd.attribute.SetAttribute.Extension)