Packages

object ContentParser

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContentParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def apply(templateSuffixesSeq: Seq[String], parseF: (InputStream) ⇒ Box[NodeSeq], surroundF: (NodeSeq) ⇒ NodeSeq): ContentParser

    A fully-specified ContentParser which handles multiple filename suffixes, operates on an InputStream, and surrounds the top-level templates with the default surround

  5. def apply(templateSuffix: String, parseFunction: (String) ⇒ Box[NodeSeq], surroundFunction: (NodeSeq) ⇒ NodeSeq = defaultSurround): ContentParser

    A basic ContentParser which handles one template filename suffix, operates on a string, and surrounds the top-level templates with the default surround.

    A basic ContentParser which handles one template filename suffix, operates on a string, and surrounds the top-level templates with the default surround.

    templateSuffix

    the template filename suffix for which this parser will be utilized.

    parseFunction

    the parse function for converting the template as a string into a NodeSeq.

    surroundFunction

    the function for surrounding the content returned by the parseFunction. See defaultSurround.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val defaultSurround: (NodeSeq) ⇒ NodeSeq

    Default surround function used by ContentParser.basic and the built-it markdown parser which results in the template being surrounded by default.html with the content located at id=content.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toInputStreamParser(simpleParser: (String) ⇒ Box[NodeSeq]): (InputStream) ⇒ Box[NodeSeq]

    Convenience function to convert a simple String => Box[NodeSeq] content parser function into a InputStream => Box[NodeSeq] function for satisfying the ContentParser contract.

    Convenience function to convert a simple String => Box[NodeSeq] content parser function into a InputStream => Box[NodeSeq] function for satisfying the ContentParser contract.

    simpleParser

    your String => Box[NodeSeq] content parser

    returns

    your parser wrapped up to handle an InputStream

  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped