io.dylemma.spac.handlers

CollectHandler

class CollectHandler[A, B, Out] extends TransformerHandler[A, B, Out]

Source
CollectHandler.scala
Linear Supertypes
TransformerHandler[A, B, Out], Handler[A, Out], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CollectHandler
  2. TransformerHandler
  3. Handler
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CollectHandler(pf: PartialFunction[A, B], downstream: Handler[B, Out])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val downstream: Handler[B, Out]

    Definition Classes
    CollectHandlerTransformerHandler
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def handleEnd(): Out

    Causes this handler to finalize and produce a result.

    Causes this handler to finalize and produce a result.

    This method should not be called if isFinished is already true.

    returns

    The final output of this parser

    Definition Classes
    TransformerHandlerHandler
  14. def handleError(err: Throwable): Option[Out]

    Causes this handler to process an error.

    Causes this handler to process an error.

    This method should not be called if isFinished == true

    returns

    An option containing the final output if this handler became finished as a result of processing the error, or None if the handler is ready for more input.

    Definition Classes
    TransformerHandlerHandler
  15. def handleInput(input: A): Option[Out]

    Causes this handler to process an input element.

    Causes this handler to process an input element.

    This method should not be called if isFinished == true

    input

    an element to be processed

    returns

    An option containing the final output if this handler became finished as a result of processing the input, or None if the handler is ready for more input.

    Definition Classes
    TransformerHandlerHandler
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. def isFinished: Boolean

    Tells if this handler is finished.

    Tells if this handler is finished.

    If a handler is finished, its handleX methods should no longer be called. Doing so after the handler finishes will cause undefined behavior. Typically a handler should be discarded once it is finished.

    returns

    whether this handler is finished

    Definition Classes
    TransformerHandlerHandler
  18. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    CollectHandler → AnyRef → Any
  24. def transformInput(input: A): Option[B]

    Attributes
    protected
    Definition Classes
    CollectHandlerTransformerHandler
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TransformerHandler[A, B, Out]

Inherited from Handler[A, Out]

Inherited from AnyRef

Inherited from Any

Ungrouped