com.ctc.wstx.evt
Class WstxEventReader
java.lang.Object
org.codehaus.stax2.ri.Stax2EventReaderImpl
com.ctc.wstx.evt.WstxEventReader
- All Implemented Interfaces:
- Iterator, XMLEventReader, XMLStreamConstants, org.codehaus.stax2.XMLEventReader2
public class WstxEventReader
- extends org.codehaus.stax2.ri.Stax2EventReaderImpl
Woodstox version, based on generic Stax reference implementation
baseline of Stax2EventReaderImpl
.
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, 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 |
Methods inherited from class org.codehaus.stax2.ri.Stax2EventReaderImpl |
close, createNextEvent, createStartDocumentEvent, getElementText, getProperty, getStreamReader, hasNext, hasNextEvent, next, nextEvent, nextTag, peek, remove, reportProblem, throwUnchecked |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WstxEventReader
public WstxEventReader(XMLEventAllocator a,
org.codehaus.stax2.XMLStreamReader2 r)
getErrorDesc
protected String getErrorDesc(int errorType,
int currEvent)
- Specified by:
getErrorDesc
in class org.codehaus.stax2.ri.Stax2EventReaderImpl
isPropertySupported
public boolean isPropertySupported(String name)
- Specified by:
isPropertySupported
in interface org.codehaus.stax2.XMLEventReader2
- Specified by:
isPropertySupported
in class org.codehaus.stax2.ri.Stax2EventReaderImpl
setProperty
public boolean setProperty(String name,
Object value)
- Specified by:
setProperty
in interface org.codehaus.stax2.XMLEventReader2
- Specified by:
setProperty
in class org.codehaus.stax2.ri.Stax2EventReaderImpl
reportProblem
protected void reportProblem(String msg,
Location loc)
throws XMLStreamException
- Overrides:
reportProblem
in class org.codehaus.stax2.ri.Stax2EventReaderImpl
- Throws:
XMLStreamException
Copyright © 2011 Codehaus. All Rights Reserved.