|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oroad.stxx.plugin.PipelineHandler
Parses and stores the transforms. Matches the request, through a Selector,
to a transform which converts the XML into its final form. Usually, this
means the XML is transformed by one or more XSL files to create HTML.
This plugin supports two different ways to define transforms. The first,
present since v1.1 uses one transform definition per Struts action
mapping. The second uses generic pipeline definitions to match Struts
forwards. The first is deprecated and the second is prefered.
Constructor Summary | |
PipelineHandler()
|
Method Summary | |
ActionTransform |
findTransform(Selector transSelector,
java.lang.String transformName,
javax.servlet.http.HttpServletRequest request)
Finds the requested Transform |
void |
init(javax.servlet.ServletContext ctx,
java.util.Map props)
Initializes the transforms from an XML file |
void |
populateTransformConfig(javax.servlet.ServletContext ctx,
java.util.Map strutsProperties)
Method populateTransformConfig |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PipelineHandler()
Method Detail |
public void init(javax.servlet.ServletContext ctx, java.util.Map props) throws javax.servlet.ServletException
javax.servlet.ServletException
public void populateTransformConfig(javax.servlet.ServletContext ctx, java.util.Map strutsProperties) throws javax.servlet.ServletException
javax.servlet.ServletException
public ActionTransform findTransform(Selector transSelector, java.lang.String transformName, javax.servlet.http.HttpServletRequest request)
transSelector
- - The selector used to choose if a transform should
be chosen or nottransformName
- - The name of the transform to look up stylesheetsrequest
- - The request object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |