final case classEventWithAncestry(event: XMLEvent, ancestryPathAfterEventOption: Option[AncestryPath]) extends Product with Serializable
A StAX event combined with an optional ancestry path. After turning a stream of StAX events into a stream of EventWithAncestry
objects, it is easy to create the entire element tree, or to query "an event" in the context of its ancestry.
The ancestry path is optional because it is absent before the first StartElement event and after the last EndElement event.
Otherwise it must be present.
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
A StAX event combined with an optional ancestry path. After turning a stream of StAX events into a stream of EventWithAncestry objects, it is easy to create the entire element tree, or to query "an event" in the context of its ancestry.
The ancestry path is optional because it is absent before the first StartElement event and after the last EndElement event. Otherwise it must be present.