Drops n elements
Drops all elements until one satisfies predicate
Drops elements from stream while predicate is true
Like findTagNamed but keeps going until the end of the stream is encountered
Like findTagNamed but keeps going until the end of the stream is encountered
Beware, this can blow up the memory consumption. Only use if you're sure all the encountered elements can fit in application memory.
Advances the element stream until it finds an element satisfying the StartTag predicate then accumulates all the elements in memory until it finds a suitable closing tag satisfying the EndTag predicate and returns those elements as a Tag
Advances the element stream until it finds an element satisfying the StartTag predicate then accumulates all the elements in memory until it finds a suitable closing tag satisfying the EndTag predicate and returns those elements as a Tag
Beware, this can blow up the memory consumption. Only use if you're sure the matched elements can fit in application memory.
Advances the element stream until it finds a StartTag with the specified name and accumulates in memory all the elements constituting the tag until a suitable matching EndTag is encountered
Advances the element stream until it finds a StartTag with the specified name and accumulates in memory all the elements constituting the tag until a suitable matching EndTag is encountered
Beware, this can blow up the memory consumption. Only use if you're sure all the encountered elements can fit in application memory.
Retrieves the next element
Peeks into the next element
Takes n elements
Takes all elements until the specified element is found (exclusive)
Take elements from stream while p is true
A fancier version of takeWhile that maintains a state between successive calls of takeWhile given the initial state and the state transition based on the current state and current element.
XML stream combinators