net.liftweb.sitemap.Loc

DispatchLocSnippets

trait DispatchLocSnippets extends LocSnippets

A subclass of LocSnippets with a built in dispatch method (no need to implement isDefinedAt or apply... just def dispatch: PartialFunction[String, NodeSeq => NodeSeq].

See also

ValueSnippets.apply

ValueSnippets

Linear Supertypes
LocSnippets, ValueSnippets[Any], LocParam[Any], PartialFunction[String, (NodeSeq) ⇒ NodeSeq], (String) ⇒ (NodeSeq) ⇒ NodeSeq, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DispatchLocSnippets
  2. LocSnippets
  3. ValueSnippets
  4. LocParam
  5. PartialFunction
  6. Function1
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def dispatch: PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

Concrete 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 andThen[C](k: ((NodeSeq) ⇒ NodeSeq) ⇒ C): PartialFunction[String, C]

    Definition Classes
    PartialFunction → Function1
  5. def apply(n: String): (NodeSeq) ⇒ NodeSeq

    Definition Classes
    DispatchLocSnippets → Function1
  6. def applyOrElse[A1 <: String, B1 >: (NodeSeq) ⇒ NodeSeq](x: A1, default: (A1) ⇒ B1): B1

    Definition Classes
    PartialFunction
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compose[A](g: (A) ⇒ String): (A) ⇒ (NodeSeq) ⇒ NodeSeq

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  15. def isDefinedAt(n: String): Boolean

    Definition Classes
    DispatchLocSnippets → PartialFunction
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def lift: (String) ⇒ Option[(NodeSeq) ⇒ NodeSeq]

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

    Definition Classes
    AnyRef
  19. final def notify(): Unit

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

    Definition Classes
    AnyRef
  21. def onCreate(loc: Loc[_]): Unit

    Definition Classes
    LocParam
  22. def orElse[A1 <: String, B1 >: (NodeSeq) ⇒ NodeSeq](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Definition Classes
    PartialFunction
  23. def runWith[U](action: ((NodeSeq) ⇒ NodeSeq) ⇒ U): (String) ⇒ Boolean

    Definition Classes
    PartialFunction
  24. def snippets: PartialFunction[(String, Box[Any]), (NodeSeq) ⇒ NodeSeq]

    Provides snippets for the Loc.

    Provides snippets for the Loc.

    returns

    a PartialFunction that maps a snippet name, and an optional Loc value, in a Tuple2, to a snippet function (NodeSeq => NodeSeq).

    Definition Classes
    LocSnippetsValueSnippets
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LocSnippets

Inherited from ValueSnippets[Any]

Inherited from LocParam[Any]

Inherited from PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

Inherited from (String) ⇒ (NodeSeq) ⇒ NodeSeq

Inherited from AnyRef

Inherited from Any

Ungrouped