Package com.fasterxml.aalto.evt
Class EventReaderImpl
java.lang.Object
org.codehaus.stax2.ri.Stax2EventReaderImpl
com.fasterxml.aalto.evt.EventReaderImpl
- All Implemented Interfaces:
Iterator<Object>
,XMLEventReader
,XMLStreamConstants
,org.codehaus.stax2.XMLEventReader2
public final class EventReaderImpl
extends org.codehaus.stax2.ri.Stax2EventReaderImpl
Simple implementation based on Stax2 reference implementation
base.
-
Field Summary
Fields inherited from class org.codehaus.stax2.ri.Stax2EventReaderImpl
ERR_GETELEMTEXT_NON_TEXT_EVENT, ERR_GETELEMTEXT_NOT_START_ELEM, ERR_NEXTTAG_NON_WS_TEXT, ERR_NEXTTAG_WRONG_TYPE, mAllocator, mPeekedEvent, mPrePeekEvent, mReader, mState, STATE_CONTENT, STATE_END_OF_INPUT, STATE_INITIAL
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getErrorDesc
(int errorType, int currEvent) boolean
isPropertySupported
(String name) protected void
reportProblem
(String msg, Location loc) boolean
setProperty
(String name, Object value) Methods inherited from class org.codehaus.stax2.ri.Stax2EventReaderImpl
_checkUnwrap, close, createNextEvent, createStartDocumentEvent, findErrorDesc, getElementText, getProperty, getStreamReader, hasNext, hasNextEvent, next, nextEvent, nextTag, peek, remove, reportProblem, throwEndOfInput, throwUnchecked, updateStateEndDocument
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
EventReaderImpl
-
-
Method Details
-
getErrorDesc
- Specified by:
getErrorDesc
in classorg.codehaus.stax2.ri.Stax2EventReaderImpl
-
isPropertySupported
- Specified by:
isPropertySupported
in interfaceorg.codehaus.stax2.XMLEventReader2
- Specified by:
isPropertySupported
in classorg.codehaus.stax2.ri.Stax2EventReaderImpl
-
setProperty
- Specified by:
setProperty
in interfaceorg.codehaus.stax2.XMLEventReader2
- Specified by:
setProperty
in classorg.codehaus.stax2.ri.Stax2EventReaderImpl
-
reportProblem
- Overrides:
reportProblem
in classorg.codehaus.stax2.ri.Stax2EventReaderImpl
- Throws:
XMLStreamException
-