Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FEATURE |
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
StAXResult(XMLEventWriter xmlEventWriter) |
StAXResult(XMLStreamWriter xmlStreamWriter) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSystemId()
Get the system identifier that was set with setSystemId.
|
XMLEventWriter |
getXMLEventWriter() |
XMLStreamWriter |
getXMLStreamWriter() |
void |
setSystemId(java.lang.String systemId)
Set the system identifier for this Result.
|
public static final java.lang.String FEATURE
public StAXResult(XMLStreamWriter xmlStreamWriter)
public StAXResult(XMLEventWriter xmlEventWriter)
public XMLStreamWriter getXMLStreamWriter()
public XMLEventWriter getXMLEventWriter()
public java.lang.String getSystemId()
Result
getSystemId
in interface Result
public void setSystemId(java.lang.String systemId)
Result
If the Result is not to be written to a file, the system identifier is optional. The application may still want to provide one, however, for use in error messages and warnings, or to resolve relative output identifiers.
setSystemId
in interface Result
systemId
- The system identifier as a URI string.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.