Parameters: - xmlEventReader - XMLEventReader used to create
this StAXSource.
Throws: - XMLStreamException - If xmlEventReader access
throws an Exception.
- IllegalArgumentException - If xmlEventReader ==
null.
- IllegalStateException - If xmlEventReader
is not in XMLStreamConstants.START_DOCUMENT or
XMLStreamConstants.START_ELEMENT state.
Parameters: - xmlStreamReader - XMLStreamReader used to create
this StAXSource.
Throws: - IllegalArgumentException - If xmlStreamReader ==
null.
- IllegalStateException - If xmlStreamReader
is not in XMLStreamConstants.START_DOCUMENT or
XMLStreamConstants.START_ELEMENT state.
XMLStreamReader will be null
if this StAXSource was created with a
XMLEventReader.
Returns:XMLStreamReader used by this
StAXSource.
public void
setSystemId
(String systemId)
[Specified in Source]
In the context of a StAXSource, it is not appropriate
to explicitly set the system identifier.
In the context of a StAXSource, it is not appropriate
to explicitly set the system identifier.
The XMLStreamReader or XMLEventReader
used to construct this StAXSource determines the
system identifier of the XML source.