Top Description Fields Constructors Methods
com.fasterxml.aalto.async

public Class AsyncStreamReaderImpl<F extends com.fasterxml.aalto.AsyncInputFeeder>

extends StreamReaderImpl
implements AsyncXMLStreamReader<F extends AsyncInputFeeder>
Class Inheritance
All Implemented Interfaces
com.fasterxml.aalto.AsyncXMLStreamReader, org.codehaus.stax2.XMLStreamReader2, org.codehaus.stax2.validation.Validatable, org.codehaus.stax2.typed.TypedXMLStreamReader, javax.xml.stream.XMLStreamReader, javax.xml.stream.XMLStreamConstants
Imports
javax.xml.stream.XMLStreamException, com.fasterxml.aalto.AsyncInputFeeder, .AsyncXMLStreamReader, com.fasterxml.aalto.stax.StreamReaderImpl

Implementation of AsyncXMLStreamReader.

Field Summary

Modifier and TypeField and Description
protected final AsyncByteScanner
Inherited from com.fasterxml.aalto.stax.StreamReaderImpl:
_attrCount_base64Decoder_cfgCoalesceText_cfgReportTextAsChars_currName_currToken_decoderFactory_dtdRootName_parseState_scanner

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
_reportNonTextEvent(int type)

Overrides com.fasterxml.aalto.stax.StreamReaderImpl._reportNonTextEvent.

Helper method called when getElementText (et al) method encounters a token type it should not, during text coalescing
public F
getInputFeeder()

Implements com.fasterxml.aalto.AsyncXMLStreamReader.getInputFeeder.

Method used to access AsyncInputFeeder which is used to provide XML content to parse in non-blocking manner (see AsyncInputFeeder for more details).
Inherited from com.fasterxml.aalto.stax.StreamReaderImpl:
_base64Decoder_closeScanner_constructUnexpectedInTyped_decoderFactoryclosecloseCompletelyconstructfindAttributeIndexgetAttributeAsgetAttributeAsArraygetAttributeAsBinarygetAttributeAsBinarygetAttributeAsBooleangetAttributeAsDecimalgetAttributeAsDoublegetAttributeAsDoubleArraygetAttributeAsFloatgetAttributeAsFloatArraygetAttributeAsIntgetAttributeAsIntArraygetAttributeAsIntegergetAttributeAsLonggetAttributeAsLongArraygetAttributeAsQNamegetAttributeCountgetAttributeIndexgetAttributeInfogetAttributeLocalNamegetAttributeNamegetAttributeNamespacegetAttributePrefixgetAttributeTypegetAttributeValuegetAttributeValuegetCharacterEncodingSchemegetConfiggetCurrentLocationgetDepthgetDTDInfogetDTDInternalSubsetgetDTDPublicIdgetDTDRootNamegetDTDSystemIdgetElementAsgetElementAsBinarygetElementAsBinarygetElementAsBooleangetElementAsDecimalgetElementAsDoublegetElementAsFloatgetElementAsIntgetElementAsIntegergetElementAsLonggetElementAsQNamegetElementTextgetEncodinggetEndingByteOffsetgetEndingCharOffsetgetEndLocationgetEventTypegetFeaturegetIdAttributeIndexgetLastCharLocationgetLocalNamegetLocationgetLocationInfogetNamegetNamespaceContextgetNamespaceCountgetNamespacePrefixgetNamespaceURIgetNamespaceURIgetNamespaceURIgetNonTransientNamespaceContextgetNotationAttributeIndexgetPIDatagetPITargetgetPrefixgetPrefixedNamegetProcessedDTDgetProcessedDTDSchemagetPropertygetScannergetStartingByteOffsetgetStartingCharOffsetgetStartLocationgetTextgetTextgetTextCharactersgetTextCharactersgetTextLengthgetTextStartgetVersionhandlePrologEoihandleTreeEoihasNamehasNexthasTextisAttributeSpecifiedisCharactersisEmptyElementisEndElementisPropertySupportedisStandaloneisStartElementisWhiteSpacenextnextTagreadElementAsArrayreadElementAsBinaryreadElementAsBinaryreadElementAsDoubleArrayreadElementAsFloatArrayreadElementAsIntArrayreadElementAsLongArrayreportInvalidAttrIndexrequiresetFeaturesetPropertysetValidationProblemHandlerskipElementstandaloneSetstopValidatingAgainststopValidatingAgainstthrowFromIOEthrowUnexpectedEOIthrowWfetoStringvalidateAgainstverifyQName

Field Detail

_asyncScannerback to summary
protected final AsyncByteScanner _asyncScanner

Constructor Detail

AsyncStreamReaderImplback to summary
public AsyncStreamReaderImpl(AsyncByteScanner scanner)

Method Detail

_reportNonTextEventback to summary
protected void _reportNonTextEvent(int type) throws XMLStreamException

Overrides com.fasterxml.aalto.stax.StreamReaderImpl._reportNonTextEvent.

Doc from com.fasterxml.aalto.stax.StreamReaderImpl._reportNonTextEvent.

Helper method called when getElementText (et al) method encounters a token type it should not, during text coalescing

Annotations
@Override
getInputFeederback to summary
public F getInputFeeder()

Implements com.fasterxml.aalto.AsyncXMLStreamReader.getInputFeeder.

Doc from com.fasterxml.aalto.AsyncXMLStreamReader.getInputFeeder.

Method used to access AsyncInputFeeder which is used to provide XML content to parse in non-blocking manner (see AsyncInputFeeder for more details).

Returns:F

Input feeder to use for "pushing" content to parse.

Annotations
@SuppressWarnings:unchecked
@Override