Class XMLStreamReaderForXMLSpine

  • All Implemented Interfaces:
    XMLStreamConstants, XMLStreamReader

    public class XMLStreamReaderForXMLSpine
    extends XMLStreamReaderFilter
    XMLStreamReaderForXMLSpine

    An XMLSpine is composed of many different parts: a sparse OM tree, header blocks, body blocks, etc.

    The XMLStreamReaderForXMLSpine provides an XMLStreamReader that over all of these combined objects (without building a full OM tree). It does this by using a StackableXMLStreamReader for the underlying implementation and pushing the XMLStreamReaders for the blocks onto the stack at the appropriate points in the message.