public abstract class AttributeHandlerRegistry extends Object
Constructor and Description |
---|
AttributeHandlerRegistry()
Constructs an AttributeHandlerRegistry.
|
Modifier and Type | Method and Description |
---|---|
AttributeHandler |
getAttributeHandler(String attributeName,
LibraryObject reposObject)
Returns the AttributeHandler registered for the given attribute name or
null if the attribute name is not registered. |
Map |
getRegistry()
Returns a read-only view of the registry, backed by the live underlying
registry.
|
protected void |
register(String attributeName,
AttributeHandler handler)
Registers a new AttributeHandler.
|
public AttributeHandlerRegistry()
public Map getRegistry()
public AttributeHandler getAttributeHandler(String attributeName, LibraryObject reposObject)
null
if the attribute name is not registered.protected void register(String attributeName, AttributeHandler handler)
Copyright © 2023. All rights reserved.