public interface ComponentSpecificationResolver
| Modifier and Type | Method and Description |
|---|---|
INamespace |
getNamespace()
The namespace containing the resolved component.
|
IComponentSpecification |
getSpecification()
The specification resolved by the resolve() method.
|
java.lang.String |
getType()
Returns the unqualified type of the component (i.e., with any namespace prefix stripped off).
|
void |
resolve(IRequestCycle cycle,
INamespace containerNamespace,
java.lang.String type,
org.apache.hivemind.Location location)
Passed the namespace of a container (to resolve the type in) and the type to resolve,
performs the processing.
|
void |
resolve(IRequestCycle cycle,
INamespace containerNamespace,
java.lang.String libraryId,
java.lang.String type,
org.apache.hivemind.Location location)
Like
#resolve(org.apache.tapestry.IRequestCycle, org.apache.tapestry.INamespace, java.lang.String, org.apache.tapestry.ILocation),
but used when the type has already been parsed into a library id and a simple type. |
void resolve(IRequestCycle cycle, INamespace containerNamespace, java.lang.String type, org.apache.hivemind.Location location)
cycle - current request cyclecontainerNamespace - namespace that may contain a library referenced in the typetype - the component specification to find, either a simple name, or prefixed with a
library id (defined for the container namespace)getNamespace(),
getSpecification()void resolve(IRequestCycle cycle, INamespace containerNamespace, java.lang.String libraryId, java.lang.String type, org.apache.hivemind.Location location)
#resolve(org.apache.tapestry.IRequestCycle, org.apache.tapestry.INamespace, java.lang.String, org.apache.tapestry.ILocation),
but used when the type has already been parsed into a library id and a simple type.cycle - current request cyclecontainerNamespace - namespace that may contain a library referenced in the typelibraryId - the library id within the container namespace, or nulltype - the component specification to find as a simple name (without a library prefix)location - of reference to be resolvedApplicationRuntimeException - if the type cannot be resolvedIComponentSpecification getSpecification()
INamespace getNamespace()
java.lang.String getType()