public class GetWrapperContextAction extends AbstractAction implements Serviceable
path pointing the default path to the XSL.| Modifier and Type | Field and Description |
|---|---|
protected ContentTypesHelper |
_contentTypesHelper
The content types helper
|
protected SourceResolver |
_srcResolver
The source resolver
|
EMPTY_MAP| Constructor and Description |
|---|
GetWrapperContextAction() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
protected List<String> |
getSourceURIs(Request request,
String requestedURI)
Get the source URI for wrapped content
|
protected String |
getWrapperURI(Request request,
String uri)
Compute the wrapping URI for the current Content.
|
void |
service(ServiceManager manager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected SourceResolver _srcResolver
protected ContentTypesHelper _contentTypesHelper
public GetWrapperContextAction()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic Map<String,String> act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
protected String getWrapperURI(Request request, String uri) throws IOException
request - the current Request.uri - the default uri.IOException - if an error occurs whuile resolving Sources.protected List<String> getSourceURIs(Request request, String requestedURI)
request - The requestrequestedURI - The requested URI