Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.cerberus.component.assembly
Class ComponentAssembler.AttributeResolver  view ComponentAssembler.AttributeResolver download ComponentAssembler.AttributeResolver.java

java.lang.Object
  extended bycom.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.


Constructor Summary
private ComponentAssembler.AttributeResolver()
           
 
Method Summary
 java.lang.String getAmbiguousPropertyMessage(java.lang.String attribute, java.util.Collection namespaces, java.lang.String reference)
          Creates an error message describing an ambiguously reference property.
 java.lang.String getUndefinedPropertyMessage(java.lang.String attribute, java.lang.String reference)
          Creates an error message describing an undefined property.
 boolean hasProperty(com.aendvari.cerberus.component.descriptor.ComponentDefinition definition, java.lang.String name)
          Returns whether the specified property is available within the component definition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentAssembler.AttributeResolver

private ComponentAssembler.AttributeResolver()
Method Detail

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