APIdia Launch Partner
Top Fields Constructors Methods
com.sun.xml.internal.stream

public Class StaxXMLInputSource

extends Object
Class Inheritance
Imports
javax.xml.stream.XMLEventReader, .XMLStreamReader, com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource

Author
Neeraj This class wraps XMLInputSource and is also capable of telling whether application returned XMLStreamReader or not when XMLResolver.resolveEntity was called.

Field Summary

Modifier and TypeField and Description
pack-priv XMLEventReader
pack-priv XMLInputSource
pack-priv boolean
pack-priv XMLStreamReader

Constructor Summary

AccessConstructor and Description
public
StaxXMLInputSource(XMLStreamReader streamReader, boolean byResolver)

Creates a new instance of StaxXMLInputSource

public
StaxXMLInputSource(XMLEventReader eventReader, boolean byResolver)

Creates a new instance of StaxXMLInputSource

public
StaxXMLInputSource(XMLInputSource inputSource, boolean byResolver)

Method Summary

Modifier and TypeMethod and Description
public XMLEventReader
public XMLInputSource
public XMLStreamReader
public boolean
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fEventReaderback to summary
pack-priv XMLEventReader fEventReader
fInputSourceback to summary
pack-priv XMLInputSource fInputSource
fIsCreatedByResolverback to summary
pack-priv boolean fIsCreatedByResolver
fStreamReaderback to summary
pack-priv XMLStreamReader fStreamReader

Constructor Detail

StaxXMLInputSourceback to summary
public StaxXMLInputSource(XMLStreamReader streamReader, boolean byResolver)

Creates a new instance of StaxXMLInputSource

StaxXMLInputSourceback to summary
public StaxXMLInputSource(XMLEventReader eventReader, boolean byResolver)

Creates a new instance of StaxXMLInputSource

StaxXMLInputSourceback to summary
public StaxXMLInputSource(XMLInputSource inputSource, boolean byResolver)

Method Detail

getXMLEventReaderback to summary
public XMLEventReader getXMLEventReader()
getXMLInputSourceback to summary
public XMLInputSource getXMLInputSource()
getXMLStreamReaderback to summary
public XMLStreamReader getXMLStreamReader()
hasXMLStreamOrXMLEventReaderback to summary
public boolean hasXMLStreamOrXMLEventReader()
isCreatedByResolverback to summary
public boolean isCreatedByResolver()