Acts as a holder for an XML Result in the
form of a StAX writer,i.e.
XMLStreamWriter or XMLEventWriter.
StAXResult can be used in all cases that accept
a Result, e.g. javax.,
javax. which accept
Result as input.
XMLStreamWriter, XMLEventWriter
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FEATURE
If |
| private String | systemId
System identifier for this |
| private XMLEventWriter | xmlEventWriter
|
| private XMLStreamWriter | xmlStreamWriter
|
| Access | Constructor and Description |
|---|---|
| public | StAXResult(final XMLEventWriter
XMLEventWriter used to create
this StAXResult.Creates a new instance of a |
| public | StAXResult(final XMLStreamWriter
XMLStreamWriter used to create
this StAXResult.Creates a new instance of a |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The returned system identifier is alwaysnull.Implements javax. The returned system identifier is always |
| public XMLEventWriter | Returns: XMLEventWriter used by this
StAXResult.Get the |
| public XMLStreamWriter | Returns: XMLStreamWriter used by this
StAXResult.Get the |
| public void | setSystemId(final String
Ignored. systemId)Implements javax. In the context of a |
| FEATURE | back to summary |
|---|---|
| public static final String FEATURE If | |
| systemId | back to summary |
|---|---|
| private String systemId System identifier for this
| |
| xmlEventWriter | back to summary |
|---|---|
| private XMLEventWriter xmlEventWriter
| |
| xmlStreamWriter | back to summary |
|---|---|
| private XMLStreamWriter xmlStreamWriter
| |
| StAXResult | back to summary |
|---|---|
| public StAXResult(final XMLEventWriter xmlEventWriter) Creates a new instance of a
| |
| StAXResult | back to summary |
|---|---|
| public StAXResult(final XMLStreamWriter xmlStreamWriter) Creates a new instance of a
| |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Implements javax. The returned system identifier is always
| |
| getXMLEventWriter | back to summary |
|---|---|
| public XMLEventWriter getXMLEventWriter() Get the
| |
| getXMLStreamWriter | back to summary |
|---|---|
| public XMLStreamWriter getXMLStreamWriter() Get the
| |
| setSystemId | back to summary |
|---|---|
| public void setSystemId(final String systemId) Implements javax. In the context of a An
| |