com.arsdigita.templating
Interface PresentationManager
- All Known Implementing Classes:
- BasePresentationManager, PageTransformer, SiteNodePresentationManager
- public interface PresentationManager
Interface for styling and serving XML documents to
the response output stream. The PresentationManager contains the
code that determines which XSLT transformer(s) are to be applied to
a given document. The default
BasePresentationManager should suffice for most cases. A custom
presentation manager is needed if an application needs to
dynamically apply a set of templates to an XML document in a custom
way. Typically, this occurs if the template selection
depends on the outcome of some application-specific logic.
- Version:
- ACS 4.6
- Author:
- Bill Schneider
- See Also:
SiteNodePresentationManager
,
BasePresentationManager
Method Summary |
void |
servePage(Document doc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Serves a page whose content is defined by the input XML
document. |
versionId
public static final String versionId
- See Also:
- Constant Field Values
servePage
public void servePage(Document doc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
- Serves a page whose content is defined by the input XML
document. Gets an appropriate XSLT Transformer object and
uses the transformer to convert the DOM input to the final
output.
- Parameters:
doc
- the XML document whose content is to be displayed
to the outputreq
- the servlet requestresp
- the servlet response
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC