XMLOutputFactory.
| Modifier and Type | Field and Description |
|---|---|
| protected final WriterConfig |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | configureForRobustness()
Implements abstract org. |
| public void | configureForSpeed()
Implements abstract org. |
| public void | configureForXmlConformance()
Implements abstract org. |
| private XMLStreamWriter2 | |
| private XMLStreamWriter2 | |
| public XMLEventWriter | createXMLEventWriter(OutputStream
the stream to write to out)Implements abstract javax. |
| public XMLEventWriter | createXMLEventWriter(OutputStream
the stream to write to out, String the encoding to use enc)Implements abstract javax. |
| public XMLEventWriter | createXMLEventWriter(Result
the result to write to result)Implements abstract javax. |
| public XMLEventWriter | createXMLEventWriter(Writer
the stream to write to w)Implements abstract javax. |
| public XMLEventWriter | createXMLEventWriter(Writer w, String enc)
Implements abstract org. |
| public XMLEventWriter | createXMLEventWriter(XMLStreamWriter sw)
Implements abstract org. |
| public XMLStreamWriter | createXMLStreamWriter(OutputStream
the stream to write to out)Implements abstract javax. |
| public XMLStreamWriter | createXMLStreamWriter(OutputStream
the stream to write to out, String the encoding to use enc)Implements abstract javax. |
| public XMLStreamWriter | createXMLStreamWriter(Result
the result to write to result)Implements abstract javax. |
| public XMLStreamWriter | createXMLStreamWriter(Writer
the writer to write to w)Implements abstract javax. |
| public XMLStreamWriter2 | createXMLStreamWriter(Writer w, String enc)
Implements abstract org. |
| public Object | getProperty(String
The name of the property name)Implements abstract javax. |
| public boolean | isPropertySupported(String
The name of the property (may not be null) name)Implements abstract javax. |
| public void | setProperty(String
The name of the property name, Object The value of the property value)Implements abstract javax. |
| _config | back to summary |
|---|---|
| protected final WriterConfig _config | |
| OutputFactoryImpl | back to summary |
|---|---|
| public OutputFactoryImpl() | |
| configureForRobustness | back to summary |
|---|---|
| public void configureForRobustness() Implements abstract org. Doc from org. Method call to make writer be as robust as possible, that is, to make it both check AND fix problems if it can.
Like None of currently defined standard properties should be affected, but implementations are likely to enable/disable custom properties related to validation.
| |
| configureForSpeed | back to summary |
|---|---|
| public void configureForSpeed() Implements abstract org. Doc from org. Method call to make writer optimize its operation for speed. This
generally disably additional checks (if any) writer does, and is
likely to disable many things that None of currently defined standard properties should be affected.
| |
| configureForXmlConformance | back to summary |
|---|---|
| public void configureForXmlConformance() Implements abstract org. Doc from org. Method call to make writer be as strict with output as possible, ie maximize validation it does to try to catch any well-formedness or validity problems. This configuration does add some overhead to output process, since it enables content checks that are overhead. None of currently defined standard properties should be affected, but implementations are likely to enable/disable custom properties related to validation.
| |
| createSW | back to summary |
|---|---|
| private XMLStreamWriter2 createSW(OutputStream out, Writer w, String enc, boolean forceAutoClose) throws XMLStreamException | |
| createSW | back to summary |
|---|---|
| private XMLStreamWriter2 createSW(Result res) throws XMLStreamException | |
| createXMLEventWriter | back to summary |
|---|---|
| public XMLEventWriter createXMLEventWriter(OutputStream out) throws XMLStreamException Implements abstract javax. Doc from javax. Create a new XMLEventWriter that writes to a stream
| |
| createXMLEventWriter | back to summary |
|---|---|
| public XMLEventWriter createXMLEventWriter(OutputStream out, String enc) throws XMLStreamException Implements abstract javax. Doc from javax. Create a new XMLEventWriter that writes to a stream
| |
| createXMLEventWriter | back to summary |
|---|---|
| public XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException Implements abstract javax. Doc from javax. Create a new XMLEventWriter that writes to a JAXP result. This method is optional.
| |
| createXMLEventWriter | back to summary |
|---|---|
| public XMLEventWriter createXMLEventWriter(Writer w) throws XMLStreamException Implements abstract javax. Doc from javax. Create a new XMLEventWriter that writes to a writer
| |
| createXMLEventWriter | back to summary |
|---|---|
| public XMLEventWriter createXMLEventWriter(Writer w, String enc) throws XMLStreamException Implements abstract org.
| |
| createXMLEventWriter | back to summary |
|---|---|
| public XMLEventWriter createXMLEventWriter(XMLStreamWriter sw) throws XMLStreamException Implements abstract org.
| |
| createXMLStreamWriter | back to summary |
|---|---|
| public XMLStreamWriter createXMLStreamWriter(OutputStream out) throws XMLStreamException Implements abstract javax. Doc from javax. Create a new XMLStreamWriter that writes to a stream
| |
| createXMLStreamWriter | back to summary |
|---|---|
| public XMLStreamWriter createXMLStreamWriter(OutputStream out, String enc) throws XMLStreamException Implements abstract javax. Doc from javax. Create a new XMLStreamWriter that writes to a stream
| |
| createXMLStreamWriter | back to summary |
|---|---|
| public XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException Implements abstract javax. Doc from javax. Create a new XMLStreamWriter that writes to a JAXP result. This method is optional.
| |
| createXMLStreamWriter | back to summary |
|---|---|
| public XMLStreamWriter createXMLStreamWriter(Writer w) throws XMLStreamException Implements abstract javax. Doc from javax. Create a new XMLStreamWriter that writes to a writer
| |
| createXMLStreamWriter | back to summary |
|---|---|
| public XMLStreamWriter2 createXMLStreamWriter(Writer w, String enc) throws XMLStreamException Implements abstract org.
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String name) Implements abstract javax. Doc from javax. Get a feature/property on the underlying implementation | |
| isPropertySupported | back to summary |
|---|---|
| public boolean isPropertySupported(String name) Implements abstract javax. Doc from javax. Query the set of properties that this factory supports. | |
| setProperty | back to summary |
|---|---|
| public void setProperty(String name, Object value) Implements abstract javax. Doc from javax. Allows the user to set specific features/properties on the underlying implementation. | |