Object/Trait

net.liftweb.http

ContentParser

Related Docs: trait ContentParser | package http

Permalink

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

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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val defaultSurround: (NodeSeq) ⇒ NodeSeq

    Permalink

    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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toInputStreamParser(simpleParser: (String) ⇒ Box[NodeSeq]): (InputStream) ⇒ Box[NodeSeq]

    Permalink

    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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped