Class StreamResultBuilder

    • Method Detail

      • getResult

        public Result getResult()
        Description copied from interface: ResultBuilder
        Get a Result implementation that can be used with an XSL transformer.
        Specified by:
        getResult in interface ResultBuilder
        Returns:
        the result object
      • getNode

        public org.apache.axiom.om.OMElement getNode​(Charset charset)
        Description copied from interface: ResultBuilder
        Get the result written to the Result as an OMElement. Note that the exact behavior of this methos depends on the specified ResultBuilderFactory.Output.
        Specified by:
        getNode in interface ResultBuilder
        Parameters:
        charset - The charset encoding of the data that has been written to the Result object. This information should only be used in conjunction with ResultBuilderFactory.Output.TEXT.
        Returns:
        the root element of the AXIOM tree
      • getResultAsString

        public String getResultAsString()
        Function to retrieve result for xslt transformation in form of string
        Returns:
        result of the transformation
      • release

        public void release()
        Description copied from interface: ResultBuilder
        Release any resources associated with this object.
        Specified by:
        release in interface ResultBuilder