Class

com.karasiq.networkutils

HtmlFilterOps

Related Doc: package networkutils

Permalink

case class HtmlFilterOps[T <: HtmlElement](elements: Iterable[T]) extends Product with Serializable

Dynamic HTML element filter helper

T

Type of HTML elements

elements

Set of HTML elements

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HtmlFilterOps
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HtmlFilterOps(elements: Iterable[T])

    Permalink

    elements

    Set of HTML elements

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def #\(n: Int): Option[HtmlElement]

    Permalink

    Get by index

    Get by index

    n

    Element index, starting from 0

    returns

    HTML element or None if not found

  4. def *@\(c: String): Option[T]

    Permalink

    Finds first by class HTML attribute

    Finds first by class HTML attribute

    c

    HTML class

    returns

    First element with specified html class attribute

  5. def *@\\(c: String): HtmlFilterOps[T]

    Permalink

    Filter by class HTML attribute

    Filter by class HTML attribute

    c

    HTML class

    returns

    HtmlFilterOps scope of elements with specified html class attribute

  6. def *\[T1 <: HtmlElement](c: Class[T1])(implicit m: Manifest[T1]): Option[T1]

    Permalink

    First by class

    First by class

    T1

    HtmlElement subclass

    returns

    First element with specified class

  7. def *\(f: (T) ⇒ Boolean): Option[T]

    Permalink

    Find by predicate

    Find by predicate

    f

    Predicate function

    returns

    First matched element

  8. def *\\[T1 <: HtmlElement](c: Class[T1])(implicit m: Manifest[T1]): HtmlFilterOps[T1]

    Permalink

    Filter by class

    Filter by class

    T1

    HtmlElement subclass

    returns

    HtmlFilterOps scope of elements with specified class

  9. def *\\(f: (T) ⇒ Boolean): HtmlFilterOps[T]

    Permalink

    Filter by predicate

    Filter by predicate

    f

    Predicate function

    returns

    HtmlFilterOps scope of matched elements

  10. final def ==(arg0: Any): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. val elements: Iterable[T]

    Permalink

    Set of HTML elements

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

    Permalink
    Definition Classes
    AnyRef
  15. def finalize(): Unit

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

    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. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
  22. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped