Class XmlTransformResponse

    • Constructor Detail

      • XmlTransformResponse

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

      • commit

        public void commit​(Activity activity)
        Description copied from interface: Response
        The result of the activity is processed into a specific response form and then sent to the client.
        Parameters:
        activity - the current Activity
      • 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