|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.staxutils.DepthXMLStreamReader
org.apache.cxf.staxutils.PartialXMLStreamReader
public class PartialXMLStreamReader
Read from a StaX reader, stopping when the next element is a specified element. For example, this can be used to read all of the Header of a soap message into a DOM document stopping on contact with the body element.
| 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 | |
|---|---|
PartialXMLStreamReader(javax.xml.stream.XMLStreamReader r,
QName endTag)
|
|
| Method Summary | |
|---|---|
int |
getEventType()
|
boolean |
hasNext()
|
int |
next()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PartialXMLStreamReader(javax.xml.stream.XMLStreamReader r,
QName endTag)
| Method Detail |
|---|
public int next()
throws javax.xml.stream.XMLStreamException
next in interface javax.xml.stream.XMLStreamReadernext in class DepthXMLStreamReaderjavax.xml.stream.XMLStreamExceptionpublic int getEventType()
getEventType in interface javax.xml.stream.XMLStreamReadergetEventType in class DepthXMLStreamReaderpublic boolean hasNext()
hasNext in interface javax.xml.stream.XMLStreamReaderhasNext in class DepthXMLStreamReader
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||