|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamespaceResources
Companion to the standard implementation
of
INamespace
. Defines resources needed by the Namespace instance to
operate (these have grown numerous!)
Method Summary | |
---|---|
ILibrarySpecification |
findChildLibrarySpecification(org.apache.hivemind.Resource libraryResource,
String path,
org.apache.hivemind.Location location)
Finds a child library specification for some parent library specification. |
IComponentSpecification |
getComponentSpecification(org.apache.hivemind.Resource libraryResource,
String specificationPath,
org.apache.hivemind.Location location)
Retrieves a component specification, parsing it as necessary. |
IComponentSpecification |
getPageSpecification(org.apache.hivemind.Resource libraryResource,
String specificationPath,
org.apache.hivemind.Location location)
Retrieves a page specification, parsing it as necessary. |
Method Detail |
---|
ILibrarySpecification findChildLibrarySpecification(org.apache.hivemind.Resource libraryResource, String path, org.apache.hivemind.Location location)
libraryResource
- the Resource
from which the parent library (or application) specification
was loadedpath
- the relative path from the parent specification resource to the library
specification. As a special case, a path starting with a leading slash is assumed
to be on the classpath.location
- TODO
IComponentSpecification getPageSpecification(org.apache.hivemind.Resource libraryResource, String specificationPath, org.apache.hivemind.Location location)
libraryResource
- the base resource for resolving the path to the page specification; this will be
the resource for the library (or application) specificationspecificationPath
- the path to the specification to be parsedlocation
- used to report errors
org.apache.hivemind.ApplicationRuntimeException
- if the specification doesn't exist, is unreadable or invalid.ISpecificationSource.getPageSpecification(Resource)
IComponentSpecification getComponentSpecification(org.apache.hivemind.Resource libraryResource, String specificationPath, org.apache.hivemind.Location location)
libraryResource
- the base resource for resolving the path to the page specification; this will be
the resource for the library (or application) specificationspecificationPath
- the path to the specification to be parsedlocation
- used to report errors
org.apache.hivemind.ApplicationRuntimeException
- if the specification doesn't exist, is unreadable or invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |