Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.xml.txw2.output
Class ResultFactory

    java.lang.Object
      com.sun.xml.txw2.output.ResultFactory

    public abstract class ResultFactory

extends java.lang.Object

Factory for producing XmlSerializers for various Result types.

Author:
  Ryan.Shoemaker@Sun.COM

Method Summary
`static XmlSerializer` | `createSerializer(javax.xml.transform.Result result)` Factory method for producing XmlSerializer) from {@link javax.xml.transform.Result}.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### createSerializer

    public static XmlSerializer createSerializer(javax.xml.transform.Result result)

  Factory method for producing XmlSerializer) from {@link javax.xml.transform.Result}. This method supports {@link javax.xml.transform.sax.SAXResult}, {@link javax.xml.transform.stream.StreamResult}, and {@link javax.xml.transform.dom.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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD