Class PartialXMLStreamReader

java.lang.Object
org.apache.cxf.staxutils.DepthXMLStreamReader
org.apache.cxf.staxutils.PartialXMLStreamReader
All Implemented Interfaces:
XMLStreamConstants, XMLStreamReader

public class PartialXMLStreamReader extends DepthXMLStreamReader
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.