public class FragmentStreamReader extends DepthXMLStreamReader
readerATTRIBUTE, 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 |
|---|
FragmentStreamReader(XMLStreamReader reader) |
FragmentStreamReader(XMLStreamReader reader,
boolean doDocEvents) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEventType() |
boolean |
hasNext() |
boolean |
isAdvanceAtEnd() |
boolean |
isCharacters() |
boolean |
isEndElement() |
boolean |
isStartElement() |
boolean |
isWhiteSpace() |
int |
next() |
void |
setAdvanceAtEnd(boolean a)
Set whether or not the FragmentStreamReader should move past the END_ELEMENT
when it is done parsing.
|
close, equals, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getDepth, getElementText, getEncoding, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getReader, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hashCode, hasName, hasText, isAttributeSpecified, isStandalone, nextTag, require, standaloneSet, toStringpublic FragmentStreamReader(XMLStreamReader reader)
public FragmentStreamReader(XMLStreamReader reader, boolean doDocEvents)
public int getEventType()
getEventType in interface XMLStreamReadergetEventType in class DepthXMLStreamReaderpublic boolean isCharacters()
isCharacters in interface XMLStreamReaderisCharacters in class DepthXMLStreamReaderpublic boolean isEndElement()
isEndElement in interface XMLStreamReaderisEndElement in class DepthXMLStreamReaderpublic boolean isStartElement()
isStartElement in interface XMLStreamReaderisStartElement in class DepthXMLStreamReaderpublic boolean isWhiteSpace()
isWhiteSpace in interface XMLStreamReaderisWhiteSpace in class DepthXMLStreamReaderpublic boolean hasNext()
throws XMLStreamException
hasNext in interface XMLStreamReaderhasNext in class DepthXMLStreamReaderXMLStreamExceptionpublic final int next()
throws XMLStreamException
next in interface XMLStreamReadernext in class DepthXMLStreamReaderXMLStreamExceptionpublic boolean isAdvanceAtEnd()
public void setAdvanceAtEnd(boolean a)
a - Apache CXF