public final class StAXInputSource extends XMLInputSource
An XMLInputSource
analogue to javax.xml.transform.stax.StAXSource
.
fBaseSystemId, fByteStream, fCharStream, fEncoding, fPublicId, fSystemId
Constructor and Description |
---|
StAXInputSource(XMLEventReader source) |
StAXInputSource(XMLEventReader source,
boolean consumeRemainingContent) |
StAXInputSource(XMLStreamReader source) |
StAXInputSource(XMLStreamReader source,
boolean consumeRemainingContent) |
Modifier and Type | Method and Description |
---|---|
XMLEventReader |
getXMLEventReader() |
XMLStreamReader |
getXMLStreamReader() |
void |
setSystemId(String systemId)
Sets the system identifier.
|
boolean |
shouldConsumeRemainingContent() |
getBaseSystemId, getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, setBaseSystemId, setByteStream, setCharacterStream, setEncoding, setPublicId
public StAXInputSource(XMLStreamReader source)
public StAXInputSource(XMLStreamReader source, boolean consumeRemainingContent)
public StAXInputSource(XMLEventReader source)
public StAXInputSource(XMLEventReader source, boolean consumeRemainingContent)
public XMLStreamReader getXMLStreamReader()
public XMLEventReader getXMLEventReader()
public boolean shouldConsumeRemainingContent()
public void setSystemId(String systemId)
XMLInputSource
setSystemId
in class XMLInputSource
systemId
- The new system identifier.Copyright © 2019 JBoss by Red Hat. All rights reserved.