Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FEATURE |
Constructor and Description |
---|
StAXSource(XMLEventReader xmlEventReader) |
StAXSource(XMLStreamReader xmlStreamReader) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSystemId()
Get the system identifier that was set with setSystemId.
|
XMLEventReader |
getXMLEventReader() |
XMLStreamReader |
getXMLStreamReader() |
void |
setSystemId(java.lang.String systemId)
Set the system identifier for this Source.
|
public static final java.lang.String FEATURE
public StAXSource(XMLStreamReader xmlStreamReader)
public StAXSource(XMLEventReader xmlEventReader) throws XMLStreamException
XMLStreamException
public XMLStreamReader getXMLStreamReader()
public XMLEventReader getXMLEventReader()
public java.lang.String getSystemId()
Source
getSystemId
in interface Source
public void setSystemId(java.lang.String systemId)
Source
The system identifier is optional if the source does not get its data from a URL, but it may still be useful to provide one. The application can use a system identifier, for example, to resolve relative URIs and to include in error messages and warnings.
setSystemId
in interface Source
systemId
- The system identifier as a URL string.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.