java.lang.Object
com.aendvari.cerberus.component.assembly.ComponentAssembler.AttributeResolver
- All Implemented Interfaces:
- ComponentAssembler.PropertyResolver
- Enclosing class:
- ComponentAssembler
- private class ComponentAssembler.AttributeResolver
- extends java.lang.Object
- implements ComponentAssembler.PropertyResolver
An implementation of the PropertyResolver for component attributes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentAssembler.AttributeResolver
private ComponentAssembler.AttributeResolver()
hasProperty
public boolean hasProperty(com.aendvari.cerberus.component.descriptor.ComponentDefinition definition,
java.lang.String name)
- Description copied from interface:
ComponentAssembler.PropertyResolver
- Returns whether the specified property is available within the component definition.
- Specified by:
hasProperty in interface ComponentAssembler.PropertyResolver
getUndefinedPropertyMessage
public java.lang.String getUndefinedPropertyMessage(java.lang.String attribute,
java.lang.String reference)
- Description copied from interface:
ComponentAssembler.PropertyResolver
- Creates an error message describing an undefined property.
- Specified by:
getUndefinedPropertyMessage in interface ComponentAssembler.PropertyResolver
getAmbiguousPropertyMessage
public java.lang.String getAmbiguousPropertyMessage(java.lang.String attribute,
java.util.Collection namespaces,
java.lang.String reference)
- Description copied from interface:
ComponentAssembler.PropertyResolver
- Creates an error message describing an ambiguously reference property.
- Specified by:
getAmbiguousPropertyMessage in interface ComponentAssembler.PropertyResolver