public class DefaultAttributeRegistry extends Object implements AttributeRegistry
Constructor and Description |
---|
DefaultAttributeRegistry(DefaultElementMetaData elementMetaData) |
Modifier and Type | Method and Description |
---|---|
AttributeMetaData |
getAttributeDescription(String namespace,
String name)
Retrieves the metadata for an attribute by namespace and name.
|
void |
putAttributeDescription(AttributeMetaData metaData)
Adds a new or updates the metadata for an existing attribute of a report-element.
|
public DefaultAttributeRegistry(DefaultElementMetaData elementMetaData)
public void putAttributeDescription(AttributeMetaData metaData)
AttributeRegistry
putAttributeDescription
in interface AttributeRegistry
metaData
- the new metadata object.public AttributeMetaData getAttributeDescription(String namespace, String name)
AttributeRegistry
getAttributeDescription
in interface AttributeRegistry
namespace
- the namespace for the attribute.name
- the attribute name.