Top Description Fields Constructors Methods
org.apache.xerces.util

public final Class StAXInputSource

extends XMLInputSource
Class Inheritance
Imports
javax.xml.stream.XMLEventReader, .XMLStreamException, .XMLStreamReader, org.apache.xerces.xni.parser.XMLInputSource

An XMLInputSource analogue to javax.xml.transform.stax.StAXSource.

Version
$Id: StAXInputSource.java 1358676 2012-07-07 23:41:49Z mrglavas $

Field Summary

Modifier and TypeField and Description
private final boolean
private final XMLEventReader
private final XMLStreamReader
Inherited from org.apache.xerces.xni.parser.XMLInputSource:
fBaseSystemIdfByteStreamfCharStreamfEncodingfPublicIdfSystemId

Constructor Summary

AccessConstructor and Description
public
public
StAXInputSource(XMLStreamReader source, boolean consumeRemainingContent)

public
public
StAXInputSource(XMLEventReader source, boolean consumeRemainingContent)

Method Summary

Modifier and TypeMethod and Description
private static String
private static String
public XMLEventReader
public XMLStreamReader
public void
setSystemId(String
The new system identifier.
systemId
)

Overrides org.apache.xerces.xni.parser.XMLInputSource.setSystemId.

Sets the system identifier.
public boolean
Inherited from org.apache.xerces.xni.parser.XMLInputSource:
getBaseSystemIdgetByteStreamgetCharacterStreamgetEncodinggetPublicIdgetSystemIdsetBaseSystemIdsetByteStreamsetCharacterStreamsetEncodingsetPublicId

Field Detail

fConsumeRemainingContentback to summary
private final boolean fConsumeRemainingContent
fEventReaderback to summary
private final XMLEventReader fEventReader
fStreamReaderback to summary
private final XMLStreamReader fStreamReader

Constructor Detail

StAXInputSourceback to summary
public StAXInputSource(XMLStreamReader source)
StAXInputSourceback to summary
public StAXInputSource(XMLStreamReader source, boolean consumeRemainingContent)
StAXInputSourceback to summary
public StAXInputSource(XMLEventReader source)
StAXInputSourceback to summary
public StAXInputSource(XMLEventReader source, boolean consumeRemainingContent)

Method Detail

getEventReaderSystemIdback to summary
private static String getEventReaderSystemId(XMLEventReader reader)
getStreamReaderSystemIdback to summary
private static String getStreamReaderSystemId(XMLStreamReader reader)
getXMLEventReaderback to summary
public XMLEventReader getXMLEventReader()
getXMLStreamReaderback to summary
public XMLStreamReader getXMLStreamReader()
setSystemIdback to summary
public void setSystemId(String systemId)

Overrides org.apache.xerces.xni.parser.XMLInputSource.setSystemId.

Doc from org.apache.xerces.xni.parser.XMLInputSource.setSystemId.

Sets the system identifier.

Parameters
systemId:String

The new system identifier.

shouldConsumeRemainingContentback to summary
public boolean shouldConsumeRemainingContent()