76777879808182
} public XMLEventWriter createXMLEventWriter(OutputStream out, String enc) throws XMLStreamException { return new Stax2EventWriterImpl(createSW(out, null, enc, false)); }
82838485868788
} public XMLEventWriter createXMLEventWriter(javax.xml.transform.Result result) throws XMLStreamException { return new Stax2EventWriterImpl(createSW(result)); }
88899091929394
} public XMLEventWriter createXMLEventWriter(Writer w) throws XMLStreamException { return new Stax2EventWriterImpl(createSW(null, w, null, false)); }
141142143144145146147
// // // StAX2 additional (encoding-aware) factory methods public XMLEventWriter createXMLEventWriter(Writer w, String enc) throws XMLStreamException { return new Stax2EventWriterImpl(createSW(null, w, enc, false)); }
148149150151152153154
public XMLEventWriter createXMLEventWriter(XMLStreamWriter sw) throws XMLStreamException { XMLStreamWriter2 sw2 = Stax2WriterAdapter.wrapIfNecessary(sw); return new Stax2EventWriterImpl(sw2); }