object Htmlx extends Htmlx
- Alphabetic
- By Inheritance
- Htmlx
- Htmlx
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit
class
HRef extends AnyRef
- Definition Classes
- Htmlx
-
case class
Header(level: Int = 1, node: Node = new Atom("first level"), namer: UniqueNames = uniqueNamer) extends Product with Serializable
- Definition Classes
- Htmlx
-
implicit
class
HtmlNodeOps extends AnyRef
- Definition Classes
- Htmlx
-
implicit
class
HtmlOps extends AnyRef
- Definition Classes
- Htmlx
-
implicit
class
HtmlSeqNodeOps extends AnyRef
- Definition Classes
- Htmlx
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
anchorName(name: String): String
create a sanitized anchor name
create a sanitized anchor name
- Definition Classes
- Htmlx
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
headers(nodes: NodeSeq): NodeSeq
- returns
all the headers and all the subtoc elements of a document
- Definition Classes
- Htmlx
-
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
-
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
-
def
isHeader(e: Node): Boolean
- returns
true if the element is a header
- Definition Classes
- Htmlx
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nodeText(n: Node): String
- returns
the text of the first child of a Node
- Definition Classes
- Htmlx
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
-
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
-
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
-
def
urls(ns: NodeSeq, filePath: FilePath = DirectoryPath.EMPTY.toFilePath): List[String]
- Definition Classes
- Htmlx
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
object
HeaderShow extends Show[Header]
- Definition Classes
- Htmlx
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated