net.liftweb.sitemap.Loc

Link

class Link[-T] extends PartialFunction[Req, Box[Boolean]]

This defines the Link to the Loc.

Linear Supertypes
PartialFunction[Req, Box[Boolean]], (Req) ⇒ Box[Boolean], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Link
  2. PartialFunction
  3. Function1
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Link(b: List[String])

  2. new Link(uriList: List[String], matchHead_?: Boolean)

    uriList

    -- the URL to match

    matchHead_?

    -- false -- absolute match. true -- match anything that begins with the same path. Useful for opening a set of directories (for example, help pages)

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: (Box[Boolean]) ⇒ C): PartialFunction[Req, C]

    Definition Classes
    PartialFunction → Function1
  7. def apply(in: Req): Box[Boolean]

    Definition Classes
    Link → Function1
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def compose[A](g: (A) ⇒ Req): (A) ⇒ Box[Boolean]

    Definition Classes
    Function1
  11. def createLink(value: T): Box[NodeSeq]

    Returns the value created by createPath wrapped in a boxed scala.

    Returns the value created by createPath wrapped in a boxed scala.xml.Text element. NOTE: This does not create a clickable HTML link on its own!

  12. def createPath(value: T): String

    Creates a string representation of the path to the Loc.

  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. def external_?: Boolean

    Is the Loc external

  16. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  19. def isDefinedAt(req: Req): Boolean

    Definition Classes
    Link → PartialFunction
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def lift: (Req) ⇒ Option[Box[Boolean]]

    Definition Classes
    PartialFunction
  22. val matchHead_?: Boolean

  23. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  26. def orElse[A1 <: Req, B1 >: Box[Boolean]](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Definition Classes
    PartialFunction
  27. def pathList(value: T): List[String]

    Override this method to modify the uriList with data from the Loc's value

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  30. val uriList: List[String]

    -- the URL to match

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from PartialFunction[Req, Box[Boolean]]

Inherited from (Req) ⇒ Box[Boolean]

Inherited from AnyRef

Inherited from Any