Package javax.xml.transform.stax
Class StAXResult
java.lang.Object
javax.xml.transform.stax.StAXResult
- All Implemented Interfaces:
Result
-
Field Summary
FieldsFields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
Constructor Summary
ConstructorsConstructorDescriptionStAXResult
(XMLEventWriter xmlEventWriter) StAXResult
(XMLStreamWriter xmlStreamWriter) -
Method Summary
Modifier and TypeMethodDescriptionGet the system identifier that was set with setSystemId.void
setSystemId
(String systemId) Set the system identifier for this Result.
-
Field Details
-
FEATURE
- See Also:
-
-
Constructor Details
-
StAXResult
-
StAXResult
-
-
Method Details
-
getXMLStreamWriter
-
getXMLEventWriter
-
getSystemId
Description copied from interface:Result
Get the system identifier that was set with setSystemId.- Specified by:
getSystemId
in interfaceResult
- Returns:
- The system identifier that was set with setSystemId, or null if setSystemId was not called.
-
setSystemId
Description copied from interface:Result
Set the system identifier for this 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.
- Specified by:
setSystemId
in interfaceResult
- Parameters:
systemId
- The system identifier as a URI string.
-