Package javax.xml.transform.stax
Class StAXResult
- java.lang.Object
-
- javax.xml.transform.stax.StAXResult
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFEATURE-
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
-
Constructor Summary
Constructors Constructor Description StAXResult(XMLEventWriter xmlEventWriter)StAXResult(XMLStreamWriter xmlStreamWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetSystemId()Get the system identifier that was set with setSystemId.XMLEventWritergetXMLEventWriter()XMLStreamWritergetXMLStreamWriter()voidsetSystemId(java.lang.String systemId)Set the system identifier for this Result.
-
-
-
Field Detail
-
FEATURE
public static final java.lang.String FEATURE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StAXResult
public StAXResult(XMLStreamWriter xmlStreamWriter)
-
StAXResult
public StAXResult(XMLEventWriter xmlEventWriter)
-
-
Method Detail
-
getXMLStreamWriter
public XMLStreamWriter getXMLStreamWriter()
-
getXMLEventWriter
public XMLEventWriter getXMLEventWriter()
-
getSystemId
public java.lang.String getSystemId()
Description copied from interface:ResultGet the system identifier that was set with setSystemId.- Specified by:
getSystemIdin interfaceResult- Returns:
- The system identifier that was set with setSystemId, or null if setSystemId was not called.
-
setSystemId
public void setSystemId(java.lang.String systemId)
Description copied from interface:ResultSet 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:
setSystemIdin interfaceResult- Parameters:
systemId- The system identifier as a URI string.
-
-