Class/Object

pine

Tag

Related Docs: object Tag | package pine

Permalink

case class Tag[TagName <: Singleton](tagName: String with TagName, attributes: Map[String, String] = Map.empty, children: List[Node] = List.empty) extends Node with Product with Serializable

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

Instance Constructors

  1. new Tag(tagName: String with TagName, attributes: Map[String, String] = Map.empty, children: List[Node] = List.empty)

    Permalink

Type Members

  1. type T = Tag[TagName]

    Permalink
    Definition Classes
    TagNode

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(nodes: List[Node]): Tag[TagName]

    Permalink
  4. def +:[U <: Singleton](node: Tag[U]): Tag[U]

    Permalink
    Definition Classes
    Node
  5. def -(node: Node): Tag[TagName]

    Permalink
  6. def --(node: List[Node]): Tag[TagName]

    Permalink
  7. def :+(node: Node): Tag[TagName]

    Permalink
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def append(node: Node): Tag[TagName]

    Permalink
  10. def appendAll(nodes: List[Node]): Tag[TagName]

    Permalink
  11. def as[S <: Singleton with String](implicit vo: ValueOf[S]): Tag[S]

    Permalink
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def attr(attribute: String): Option[String]

    Permalink
  14. val attributes: Map[String, String]

    Permalink
  15. def byClass(class: String): Tag[_]

    Permalink
  16. def byClassAll(class: String): List[Tag[_]]

    Permalink
  17. def byClassOpt(class: String): Option[Tag[_]]

    Permalink
  18. def byId(id: String): Tag[_]

    Permalink
  19. def byIdOpt(id: String): Option[Tag[_]]

    Permalink
  20. def byTag[U <: Singleton](implicit ct: ValueOf[U]): Tag[U]

    Permalink
  21. def byTagAll[U <: Singleton](implicit vu: ValueOf[U]): List[Tag[U]]

    Permalink
  22. def byTagOpt[U <: Singleton](implicit vu: ValueOf[U]): Option[Tag[U]]

    Permalink
  23. val children: List[Node]

    Permalink
  24. def clearAll: Tag[TagName]

    Permalink
  25. def clearAttr: Tag[TagName]

    Permalink
  26. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  28. def filter(f: (Node) ⇒ Boolean): List[Node]

    Permalink
  29. def filterTags(f: (Tag[_]) ⇒ Boolean): List[Tag[_]]

    Permalink
  30. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def find(f: (Node) ⇒ Boolean): Option[Node]

    Permalink
  32. def flatMap(f: (Node) ⇒ List[Node]): Tag[TagName]

    Permalink
    Definition Classes
    TagNode
  33. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  34. def hasAttr(attribute: String): Boolean

    Permalink
  35. def insertAt(position: Int, node: Node): Tag[TagName]

    Permalink
  36. def insertAt(position: Int, nodes: List[Node]): Tag[TagName]

    Permalink
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. def map(f: (Node) ⇒ Node): Tag[TagName]

    Permalink

    Recursively map children, excluding root node

    Recursively map children, excluding root node

    Definition Classes
    TagNode
  39. def mapFirst(f: PartialFunction[Node, Node]): Tag[TagName]

    Permalink
    Definition Classes
    TagNode
  40. def mapRoot(f: (Tag[_]) ⇒ Tag[_]): Tag[TagName]

    Permalink

    Recursively map tag children, including root node

  41. final def matches[S <: Singleton](tagRef: TagRef[S]): Boolean

    Permalink
    Annotations
    @tailrec()
  42. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  45. def partialMap(f: PartialFunction[Node, Node]): Tag[TagName]

    Permalink
  46. def prepend(node: Node): Tag[TagName]

    Permalink
  47. def prependAll(node: List[Node]): Tag[TagName]

    Permalink
  48. def remAttr(attribute: String): Tag[TagName]

    Permalink
  49. def remove(node: Node): Tag[TagName]

    Permalink
  50. def removeAll(node: List[Node]): Tag[TagName]

    Permalink
  51. def replace(reference: Node, node: Node): Tag[TagName]

    Permalink
  52. def set(nodes: List[Node]): Tag[TagName]

    Permalink
  53. def set(node: Node): Tag[TagName]

    Permalink
  54. def setAttr(attribute: String, value: String): Tag[TagName]

    Permalink
  55. def suffixIds(suffix: String, attributes: Set[String] = Set("id")): Tag[TagName]

    Permalink

    Recursively adds suffix to every given attribute.

    Recursively adds suffix to every given attribute.

    suffix

    the text to add to the attribute value

    attributes

    which attributes to add the suffix to, by default this is just Set("id") for backward compatibility reasons. Use Tag.IdAttributeNames for a more comprehensive set.

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

    Permalink
    Definition Classes
    AnyRef
  57. def tag[S <: Singleton with String](implicit vo: ValueOf[S]): Tag[S]

    Permalink
  58. val tagName: String with TagName

    Permalink
  59. def update(f: (NodeRenderContext) ⇒ Unit): Tag[TagName]

    Permalink
  60. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. 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 Node

Inherited from AnyRef

Inherited from Any

Ungrouped