Object

exemelle

StreamAction

Related Doc: package exemelle

Permalink

object StreamAction

XML stream combinators

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamAction
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def drop(n: Int): StreamAction[Unit]

    Permalink

    Drops n elements

  7. def dropUntil(p: (Elem) ⇒ Boolean): StreamAction[Unit]

    Permalink

    Drops all elements until one satisfies predicate

  8. def dropWhile(p: (Elem) ⇒ Boolean): StreamAction[Unit]

    Permalink

    Drops elements from stream while predicate is true

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def findAllTagsNamed(name: String): StreamAction[Vector[Tag]]

    Permalink

    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.

  13. def findTag(start: (StartTag) ⇒ Boolean)(end: (EndTag) ⇒ Boolean): StreamAction[Option[Tag]]

    Permalink

    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.

  14. def findTagNamed(name: String): StreamAction[Option[Tag]]

    Permalink

    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.

  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def next: StreamAction[Option[Elem]]

    Permalink

    Retrieves the next element

  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def peek: StreamAction[Option[Elem]]

    Permalink

    Peeks into the next element

  23. def pure[A](a: A): StreamAction[A]

    Permalink
  24. def run[A](parser: StreamParser)(action: StreamAction[A]): Either[StreamError, A]

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def take(n: Int): StreamAction[Vector[Elem]]

    Permalink

    Takes n elements

  27. def takeUntil(p: (Elem) ⇒ Boolean): StreamAction[Vector[Elem]]

    Permalink

    Takes all elements until the specified element is found (exclusive)

  28. def takeUntilWithState[S](p: (Elem, S) ⇒ Boolean)(s: S)(stateTransition: (Option[Elem], S) ⇒ S): StreamAction[Vector[Elem]]

    Permalink
  29. def takeWhile(p: (Elem) ⇒ Boolean): StreamAction[Vector[Elem]]

    Permalink

    Take elements from stream while p is true

  30. def takeWhileWithState[S](p: (Elem, S) ⇒ Boolean)(s: S)(stateTransition: (Option[Elem], S) ⇒ S): StreamAction[Vector[Elem]]

    Permalink

    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.

  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped