XMLOutputFactory « javax.xml.stream « Java by API






1.XMLOutputFactory: createXMLEventWriter(OutputStream stream)
2.XMLOutputFactory: createXMLStreamWriter(OutputStream stream)