public class PageSpecificationResolverImpl extends AbstractSpecificationResolver implements PageSpecificationResolver
ISpecificationResolverDelegate.findPageSpecification(IRequestCycle, INamespace, String)
Pages in a component library are searched for in a more abbreviated fashion:
ISpecificationResolverDelegate.findPageSpecification(IRequestCycle, INamespace, String)
IPageSource| Constructor and Description |
|---|
PageSpecificationResolverImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSimplePageName()
Returns just the name of the page, unqualified by any namespace.
|
void |
initializeService() |
protected void |
reset()
Clears the namespace and specification properties.
|
void |
resolve(IRequestCycle cycle,
java.lang.String prefixedName)
Resolve the name (which may have a library id prefix) to a namespace (see
AbstractSpecificationResolver.getNamespace()) and a specification (see AbstractSpecificationResolver.getSpecification()). |
void |
setComponentPropertySource(ComponentPropertySource componentPropertySource) |
void |
setLog(org.apache.commons.logging.Log log) |
findNamespaceForId, getApplicationNamespace, getContextRoot, getDelegate, getFrameworkNamespace, getNamespace, getSpecification, getSpecificationSource, getWebInfAppLocation, getWebInfLocation, setApplicationId, setContextRoot, setDelegate, setNamespace, setSpecification, setSpecificationSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamespace, getSpecificationpublic PageSpecificationResolverImpl()
public void initializeService()
initializeService in class AbstractSpecificationResolverprotected void reset()
AbstractSpecificationResolverreset in class AbstractSpecificationResolverpublic void resolve(IRequestCycle cycle, java.lang.String prefixedName)
AbstractSpecificationResolver.getNamespace()) and a specification (see AbstractSpecificationResolver.getSpecification()).resolve in interface PageSpecificationResolverorg.apache.hivemind.ApplicationRuntimeException - if the name cannot be resolvedpublic java.lang.String getSimplePageName()
PageSpecificationResolvergetSimplePageName in interface PageSpecificationResolverpublic void setLog(org.apache.commons.logging.Log log)
public void setComponentPropertySource(ComponentPropertySource componentPropertySource)