Class XmlTransformResponse

  • All Implemented Interfaces:
    Response, Replicable<Response>

    public class XmlTransformResponse
    extends TransformResponse
    XML Transform Response converts the response data to XML and outputs it. Created: 2008. 03. 22 PM 5:51:58
    • Constructor Detail

      • XmlTransformResponse

        public XmlTransformResponse​(TransformRule transformRule)
        Instantiates a new XmlTransformResponse.
        Parameters:
        transformRule - the transform rule
    • Method Detail

      • replicate

        public Response replicate()
        Description copied from interface: Response
        Replicates and returns this response.
        Returns:
        the new response
      • transform

        public static void transform​(java.lang.Object object,
                                     java.io.Writer writer,
                                     java.lang.String encoding,
                                     FormattingContext formattingContext)
                              throws javax.xml.transform.TransformerException
        Throws:
        javax.xml.transform.TransformerException