Incrementally parses an XMPP byte stream into structural StreamEvents.
Wraps a FramedReader and pulls one tag at a time (reading up to each >), tracking
element depth. The stream root is reported once as an open event and never pushed onto the
stack, so each direct child of the root is emitted as a complete element event the moment it
closes; the root's own close is a close event. Text between top-level stanzas (whitespace
keep-alives) is ignored. Comments, the XML declaration, and processing instructions are
skipped; CDATA sections contribute their literal contents as text.
Incrementally parses an XMPP byte stream into structural StreamEvents.
Wraps a FramedReader and pulls one tag at a time (reading up to each
>), tracking element depth. The stream root is reported once as anopenevent and never pushed onto the stack, so each direct child of the root is emitted as a completeelementevent the moment it closes; the root's own close is acloseevent. Text between top-level stanzas (whitespace keep-alives) is ignored. Comments, the XML declaration, and processing instructions are skipped; CDATA sections contribute their literal contents as text.Since
1.0.4