net.liftweb.sitemap.Loc

LocSnippets

trait LocSnippets extends PartialFunction[String, (NodeSeq) ⇒ NodeSeq] with ValueSnippets[Any] with AnyLocParam

Allows you to create a handler for many snippets that are associated with a Loc, but agnostic to the Loc's value.

See also

ValueSnippets.apply

ValueSnippets

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

Abstract Value Members

  1. abstract def apply(v1: String): (NodeSeq) ⇒ NodeSeq

    Definition Classes
    Function1
  2. abstract def isDefinedAt(x: String): Boolean

    Definition Classes
    PartialFunction

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 applyOrElse[A1 <: String, B1 >: (NodeSeq) ⇒ NodeSeq](x: A1, default: (A1) ⇒ B1): B1

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

    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  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 ValueSnippets[Any]

Inherited from LocParam[Any]

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

Inherited from (String) ⇒ (NodeSeq) ⇒ NodeSeq

Inherited from AnyRef

Inherited from Any

Ungrouped