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 |
|---|
XMLStreamWriterFactory.Default(javax.xml.stream.XMLOutputFactory xof) |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.stream.XMLStreamWriter |
doCreate(OutputStream out)
See
XMLStreamWriterFactory.create(OutputStream) for the contract. |
javax.xml.stream.XMLStreamWriter |
doCreate(OutputStream out,
String encoding)
See
XMLStreamWriterFactory.create(OutputStream,String) for the contract. |
void |
doRecycle(javax.xml.stream.XMLStreamWriter r)
See
XMLStreamWriterFactory.recycle(XMLStreamWriter) for the contract. |
create, create, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, get, recycle, setpublic XMLStreamWriterFactory.Default(javax.xml.stream.XMLOutputFactory xof)
public javax.xml.stream.XMLStreamWriter doCreate(OutputStream out)
XMLStreamWriterFactoryXMLStreamWriterFactory.create(OutputStream) for the contract.
This method may be invoked concurrently.doCreate in class XMLStreamWriterFactorypublic javax.xml.stream.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(javax.xml.stream.XMLStreamWriter r)
XMLStreamWriterFactoryXMLStreamWriterFactory.recycle(XMLStreamWriter) for the contract.
This method may be invoked concurrently.doRecycle in class XMLStreamWriterFactoryCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.