|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.services.impl.NamespaceResourcesImpl
public class NamespaceResourcesImpl
Implementation of NamespaceResources.
| Constructor Summary | |
|---|---|
NamespaceResourcesImpl(ISpecificationSource source,
AssetSource assetSource)
|
|
| Method Summary | |
|---|---|
ILibrarySpecification |
findChildLibrarySpecification(org.apache.hivemind.Resource parentResource,
String path,
org.apache.hivemind.Location location)
Finds a child library specification for some parent library specification. |
IComponentSpecification |
getComponentSpecification(org.apache.hivemind.Resource resource,
String specificationPath,
org.apache.hivemind.Location location)
Retrieves a component specification, parsing it as necessary. |
IComponentSpecification |
getPageSpecification(org.apache.hivemind.Resource resource,
String specificationPath,
org.apache.hivemind.Location location)
Retrieves a page specification, parsing it as necessary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamespaceResourcesImpl(ISpecificationSource source,
AssetSource assetSource)
| Method Detail |
|---|
public ILibrarySpecification findChildLibrarySpecification(org.apache.hivemind.Resource parentResource,
String path,
org.apache.hivemind.Location location)
NamespaceResources
findChildLibrarySpecification in interface NamespaceResourcesparentResource - 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
public IComponentSpecification getPageSpecification(org.apache.hivemind.Resource resource,
String specificationPath,
org.apache.hivemind.Location location)
NamespaceResources
getPageSpecification in interface NamespaceResourcesresource - 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 errorsISpecificationSource.getPageSpecification(Resource)
public IComponentSpecification getComponentSpecification(org.apache.hivemind.Resource resource,
String specificationPath,
org.apache.hivemind.Location location)
NamespaceResources
getComponentSpecification in interface NamespaceResourcesresource - 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||