|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for all classes that transform the request information, including Action-created XML and http request information.
Field Summary | |
static java.lang.String |
PROPS_PREFIX
|
Method Summary | |
void |
init(java.lang.String name,
StxxProperties props,
javax.servlet.ServletContext context,
BuilderRules rules)
Initializes the Transformer |
void |
setCache(Cache cache,
long expiryTime)
Sets the cache for the transformer |
void |
transform(ActionTransform trans,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Transforms the request and writes the output to response's outputstream |
Field Detail |
public static final java.lang.String PROPS_PREFIX
Method Detail |
public void init(java.lang.String name, StxxProperties props, javax.servlet.ServletContext context, BuilderRules rules)
name
- The name of the transformerprops
- The StxxPropertiescontext
- The servlet contextrules
- The rules used to build the documentpublic void setCache(Cache cache, long expiryTime)
cache
- The cacheexpiryTime
- The expiration time for objects in millisecondspublic void transform(ActionTransform trans, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws TransformerException
trans
- The value object holding transformation
informationresponse
- The response object (to set
content-type, etc)request
- The request
TransformerException
- If something goes wrong
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |