public abstract class AbstractDOMStreamReader<T,I> extends Object implements XMLStreamReader
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractDOMStreamReader.ElementFrame<T,I> |
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentEvent |
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT| Constructor and Description |
|---|
AbstractDOMStreamReader(AbstractDOMStreamReader.ElementFrame<T,I> frame) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getEncoding, getLocalName, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getText, getTextCharacters, getTextLength, getTextStart, isAttributeSpecifiedpublic AbstractDOMStreamReader(AbstractDOMStreamReader.ElementFrame<T,I> frame)
frame - protected AbstractDOMStreamReader.ElementFrame<T,I> getCurrentFrame()
public Object getProperty(String name)
getProperty in interface XMLStreamReaderpublic int next()
throws XMLStreamException
next in interface XMLStreamReaderXMLStreamExceptionprotected void newFrame(AbstractDOMStreamReader.ElementFrame<T,I> newFrame)
protected void endElement()
protected abstract boolean hasMoreChildren()
protected abstract int nextChild()
protected abstract AbstractDOMStreamReader.ElementFrame<T,I> getChildFrame()
public void require(int arg0,
String arg1,
String arg2)
throws XMLStreamException
require in interface XMLStreamReaderXMLStreamExceptionpublic abstract String getElementText() throws XMLStreamException
getElementText in interface XMLStreamReaderXMLStreamExceptionpublic void consumeFrame()
public int nextTag()
throws XMLStreamException
nextTag in interface XMLStreamReaderXMLStreamExceptionpublic boolean hasNext()
throws XMLStreamException
hasNext in interface XMLStreamReaderXMLStreamExceptionpublic void close()
throws XMLStreamException
close in interface XMLStreamReaderXMLStreamExceptionpublic abstract String getNamespaceURI(String prefix)
getNamespaceURI in interface XMLStreamReaderpublic boolean isStartElement()
isStartElement in interface XMLStreamReaderpublic boolean isEndElement()
isEndElement in interface XMLStreamReaderpublic boolean isCharacters()
isCharacters in interface XMLStreamReaderpublic boolean isWhiteSpace()
isWhiteSpace in interface XMLStreamReaderpublic int getEventType()
getEventType in interface XMLStreamReaderpublic int getTextCharacters(int sourceStart,
char[] target,
int targetStart,
int length)
throws XMLStreamException
getTextCharacters in interface XMLStreamReaderXMLStreamExceptionpublic boolean hasText()
hasText in interface XMLStreamReaderpublic String getSystemId()
public String getPublicId()
public Location getLocation()
getLocation in interface XMLStreamReaderpublic boolean hasName()
hasName in interface XMLStreamReaderpublic String getVersion()
getVersion in interface XMLStreamReaderpublic boolean isStandalone()
isStandalone in interface XMLStreamReaderpublic boolean standaloneSet()
standaloneSet in interface XMLStreamReaderpublic String getCharacterEncodingScheme()
getCharacterEncodingScheme in interface XMLStreamReaderApache CXF