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, wait
getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getEncoding, getLocalName, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getText, getTextCharacters, getTextLength, getTextStart, isAttributeSpecified
public AbstractDOMStreamReader(AbstractDOMStreamReader.ElementFrame<T,I> frame)
frame
- protected AbstractDOMStreamReader.ElementFrame<T,I> getCurrentFrame()
public Object getProperty(String name)
getProperty
in interface XMLStreamReader
public int next() throws XMLStreamException
next
in interface XMLStreamReader
XMLStreamException
protected 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 XMLStreamReader
XMLStreamException
public abstract String getElementText() throws XMLStreamException
getElementText
in interface XMLStreamReader
XMLStreamException
public void consumeFrame()
public int nextTag() throws XMLStreamException
nextTag
in interface XMLStreamReader
XMLStreamException
public boolean hasNext() throws XMLStreamException
hasNext
in interface XMLStreamReader
XMLStreamException
public void close() throws XMLStreamException
close
in interface XMLStreamReader
XMLStreamException
public abstract String getNamespaceURI(String prefix)
getNamespaceURI
in interface XMLStreamReader
public boolean isStartElement()
isStartElement
in interface XMLStreamReader
public boolean isEndElement()
isEndElement
in interface XMLStreamReader
public boolean isCharacters()
isCharacters
in interface XMLStreamReader
public boolean isWhiteSpace()
isWhiteSpace
in interface XMLStreamReader
public int getEventType()
getEventType
in interface XMLStreamReader
public int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException
getTextCharacters
in interface XMLStreamReader
XMLStreamException
public boolean hasText()
hasText
in interface XMLStreamReader
public String getSystemId()
public String getPublicId()
public Location getLocation()
getLocation
in interface XMLStreamReader
public boolean hasName()
hasName
in interface XMLStreamReader
public String getVersion()
getVersion
in interface XMLStreamReader
public boolean isStandalone()
isStandalone
in interface XMLStreamReader
public boolean standaloneSet()
standaloneSet
in interface XMLStreamReader
public String getCharacterEncodingScheme()
getCharacterEncodingScheme
in interface XMLStreamReader
Apache CXF