|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.staxutils.DepthXMLStreamReader org.apache.cxf.staxutils.FragmentStreamReader
public class FragmentStreamReader
Wraps a XMLStreamReader and provides optional START_DOCUMENT and END_DOCUMENT events.
Field Summary |
---|
Fields inherited from class org.apache.cxf.staxutils.DepthXMLStreamReader |
---|
reader |
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 | |
---|---|
FragmentStreamReader(javax.xml.stream.XMLStreamReader reader)
|
|
FragmentStreamReader(javax.xml.stream.XMLStreamReader reader,
boolean doDocEvents)
|
Method Summary | |
---|---|
int |
getEventType()
|
boolean |
hasNext()
|
boolean |
isAdvanceAtEnd()
|
int |
next()
|
void |
setAdvanceAtEnd(boolean a)
Set whether or not the FragmentStreamReader should move past the END_ELEMENT when it is done parsing. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FragmentStreamReader(javax.xml.stream.XMLStreamReader reader)
public FragmentStreamReader(javax.xml.stream.XMLStreamReader reader, boolean doDocEvents)
Method Detail |
---|
public int getEventType()
getEventType
in interface javax.xml.stream.XMLStreamReader
getEventType
in class DepthXMLStreamReader
public boolean hasNext() throws javax.xml.stream.XMLStreamException
hasNext
in interface javax.xml.stream.XMLStreamReader
hasNext
in class DepthXMLStreamReader
javax.xml.stream.XMLStreamException
public final int next() throws javax.xml.stream.XMLStreamException
next
in interface javax.xml.stream.XMLStreamReader
next
in class DepthXMLStreamReader
javax.xml.stream.XMLStreamException
public boolean isAdvanceAtEnd()
public void setAdvanceAtEnd(boolean a)
advanceAtEnd
-
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |