public static final class XMLStreamWriterFactory.Default extends XMLStreamWriterFactory
XMLStreamWriterFactory implementation
that can work with any XMLOutputFactory.
XMLOutputFactory is not required to be thread-safe, so the
create method on this implementation is synchronized.
XMLStreamWriterFactory.Default, XMLStreamWriterFactory.NoLock, XMLStreamWriterFactory.RecycleAware, XMLStreamWriterFactory.Zephyr| Constructor and Description |
|---|
Default(XMLOutputFactory xof) |
| Modifier and Type | Method and Description |
|---|---|
XMLStreamWriter |
doCreate(OutputStream out)
See
XMLStreamWriterFactory.create(OutputStream) for the contract. |
XMLStreamWriter |
doCreate(OutputStream out,
String encoding)
See
XMLStreamWriterFactory.create(OutputStream,String) for the contract. |
void |
doRecycle(XMLStreamWriter r)
See
XMLStreamWriterFactory.recycle(XMLStreamWriter) for the contract. |
create, create, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, get, recycle, setpublic Default(XMLOutputFactory xof)
public XMLStreamWriter doCreate(OutputStream out)
XMLStreamWriterFactoryXMLStreamWriterFactory.create(OutputStream) for the contract.
This method may be invoked concurrently.doCreate in class XMLStreamWriterFactorypublic XMLStreamWriter doCreate(OutputStream out, String encoding)
XMLStreamWriterFactoryXMLStreamWriterFactory.create(OutputStream,String) for the contract.
This method may be invoked concurrently.doCreate in class XMLStreamWriterFactorypublic void doRecycle(XMLStreamWriter r)
XMLStreamWriterFactoryXMLStreamWriterFactory.recycle(XMLStreamWriter) for the contract.
This method may be invoked concurrently.doRecycle in class XMLStreamWriterFactoryCopyright © 2015 Oracle Corporation. All rights reserved.