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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def andThen[C](k: ((NodeSeq) ⇒ NodeSeq) ⇒ C): PartialFunction[String, C]

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

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

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

    Definition Classes
    Any
  10. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    PartialFunction
  26. 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
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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