Class ResultFactory


  • public abstract class ResultFactory
    extends Object
    Factory for producing XmlSerializers for various Result types.
    Author:
    Ryan.Shoemaker@Sun.COM
    • Method Detail

      • createSerializer

        public static XmlSerializer createSerializer​(Result result)
        Factory method for producing XmlSerializer from Result. This method supports SAXResult, StreamResult, and DOMResult.
        Parameters:
        result - the Result that will receive output from the XmlSerializer
        Returns:
        an implementation of XmlSerializer that will produce output on the supplied Result