org.specs2.html

Htmlx

Related Docs: trait Htmlx | package html

object Htmlx extends Htmlx

Linear Supertypes
Htmlx, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Htmlx
  2. Htmlx
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit class HRef extends AnyRef

    Definition Classes
    Htmlx
  2. case class Header(level: Int = 1, node: Node = new Atom("first level"), namer: UniqueNames = uniqueNamer) extends Product with Serializable

    Definition Classes
    Htmlx
  3. implicit class HtmlNodeOps extends AnyRef

    Definition Classes
    Htmlx
  4. implicit class HtmlOps extends AnyRef

    Definition Classes
    Htmlx
  5. implicit class HtmlSeqNodeOps extends AnyRef

    Definition Classes
    Htmlx

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. implicit object HeaderShow extends Show[Header]

    Definition Classes
    Htmlx
  5. def anchorName(name: String): String

    create a sanitized anchor name

    create a sanitized anchor name

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  13. def headers(nodes: NodeSeq): NodeSeq

    returns

    all the headers and all the subtoc elements of a document

    Definition Classes
    Htmlx
  14. def headersAnchors: RewriteRule { ... /* 3 definitions in type refinement */ }

    This rule can be used to add anchors to header elements

    This rule can be used to add anchors to header elements

    Definition Classes
    Htmlx
  15. def headersToTree(body: NodeSeq, headers: TreeLoc[Header] = leaf(Header()).loc): TreeLoc[Header]

    collect all the headers as a Tree

    collect all the headers as a Tree

    Definition Classes
    Htmlx
  16. def isHeader(e: Node): Boolean

    returns

    true if the element is a header

    Definition Classes
    Htmlx
  17. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  19. def nodeText(n: Node): String

    returns

    the text of the first child of a Node

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

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

    Definition Classes
    AnyRef
  22. def rewriteRule(pf: PartialFunction[Node, Seq[Node]]): RewriteRule { ... /* 3 definitions in type refinement */ }

    returns

    a rewrite rule that will rewrite recursively each node based on a partial function

    Definition Classes
    Htmlx
  23. def sanitize(s: String): String

    sanitize a string so that it can be used as a href

    sanitize a string so that it can be used as a href

    Definition Classes
    Htmlx
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def updateHead(ns: NodeSeq)(f: PartialFunction[Node, Node]): NodeSeq

    returns

    a NodeSeq where the first Node is updated with a partial function

    Definition Classes
    Htmlx
  27. def updateHeadAttribute(ns: NodeSeq, name: String, value: Int): NodeSeq

    returns

    a NodeSeq where the first Node attribute named 'named' has a new value, from an Int

    Definition Classes
    Htmlx
  28. def updateHeadAttribute(ns: NodeSeq, name: String, value: String): NodeSeq

    returns

    a NodeSeq where the first Node attribute named 'named' has a new value

    Definition Classes
    Htmlx
  29. def urls(ns: NodeSeq, filePath: FilePath = DirectoryPath.EMPTY.toFilePath): List[String]

    returns

    the href urls in elements

    Definition Classes
    Htmlx
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Htmlx

Inherited from AnyRef

Inherited from Any

Ungrouped