Class XmlTransformResponse
- java.lang.Object
-
- com.aspectran.core.activity.response.transform.TransformResponse
-
- com.aspectran.core.activity.response.transform.XmlTransformResponse
-
- All Implemented Interfaces:
Response,Replicable<Response>
public class XmlTransformResponse extends TransformResponse
The Class XmlTransformResponse. Created: 2008. 03. 22 PM 5:51:58
-
-
Field Summary
-
Fields inherited from class com.aspectran.core.activity.response.transform.TransformResponse
transformRule
-
-
Constructor Summary
Constructors Constructor Description XmlTransformResponse(TransformRule transformRule)Instantiates a new XmlTransformResponse.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit(Activity activity)The result of the activity is processed into a specific response form and then sent to the client.ActionListgetActionList()Gets the action list.Responsereplicate()Replicates and returns this response.static voidtransformXml(ProcessResult processResult, java.io.Writer writer, java.lang.String encoding, boolean pretty)-
Methods inherited from class com.aspectran.core.activity.response.transform.TransformResponse
getContentType, getContentType, getResponseType, getTemplateAsStream, getTransformRule, getTransformType, toString
-
-
-
-
Constructor Detail
-
XmlTransformResponse
public XmlTransformResponse(TransformRule transformRule)
Instantiates a new XmlTransformResponse.- Parameters:
transformRule- the transform rule
-
-
Method Detail
-
commit
public void commit(Activity activity) throws TransformResponseException
Description copied from interface:ResponseThe result of the activity is processed into a specific response form and then sent to the client.- Parameters:
activity- the current Activity- Throws:
TransformResponseException
-
getActionList
public ActionList getActionList()
Description copied from interface:ResponseGets the action list.- Returns:
- the action list
-
replicate
public Response replicate()
Description copied from interface:ResponseReplicates and returns this response.- Returns:
- the new response
-
transformXml
public static void transformXml(ProcessResult processResult, java.io.Writer writer, java.lang.String encoding, boolean pretty) throws javax.xml.transform.TransformerException
- Throws:
javax.xml.transform.TransformerException
-
-