Object

henix.ssoup

Selectors

Related Doc: package ssoup

Permalink

object Selectors

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Selectors
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class BFSElementIterator extends Iterator[Element]

    Permalink

    以 BFS 遍历 DOM

    以 BFS 遍历 DOM

    1. 保存 Iterator ,以 lazy 的方式提高性能 2. 考虑到 scala.collection.immutable.Queue 的性能可能不如 ArrayDeque ,故采用 ArrayDeque

  2. class DFSElementIterator extends Iterator[Element]

    Permalink

    Pre-order DFS: https://en.wikipedia.org/wiki/Tree_traversal

  3. implicit class ElementOps extends AnyRef

    Permalink

    注意[运算符的优先级](http://stackoverflow.com/questions/2922347/operator-precedence-in-scala)

  4. implicit class ElementsOps extends AnyRef

    Permalink
  5. class ScriptContains extends Evaluator

    Permalink

    不能用常规的 :contains() 因为 DataNode 不是文本

  6. class ScriptThat extends Evaluator

    Permalink

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 bfsTraverse(e: Element): Iterator[Element]

    Permalink
  6. def buildIdCache(el: Element): Map[String, Element]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. implicit def cssquery(css: String): Evaluator

    Permalink
  9. def dfsTraverse(e: Element): Iterator[Element]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def getChilds(el: Element): Iterator[Element]

    Permalink
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getScriptText(script: Element): String

    Permalink
  16. def getSiblingNodes(e: Node): Iterator[Node]

    Permalink

    取 e 的所有 nextSibling

    取 e 的所有 nextSibling

    参考 Element#nextSibling 实现

  17. def getSiblings(e: Element): Iterator[Element]

    Permalink
  18. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def scriptContains(str: String): ScriptContains

    Permalink
  24. def scriptThat(p: (String) ⇒ Boolean): ScriptThat

    Permalink
  25. def select(elements: Iterator[Element]): Stream[Element]

    Permalink

    所有选择器都应该包在 select 中,因为 Iterator 是有状态的,而且只能使用一次

  26. macro def select1(elements: Iterator[Element]): Element

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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped