play.api.data.mapping

Path

class Path extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Path
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Path(path: List[PathNode])

Type Members

  1. class Deferred[I] extends AnyRef

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. def ++(other: Path): Path

  5. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  7. def \(child: PathNode): Path

  8. def \(idx: Int): Path

  9. def \(key: String): Path

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def canEqual(o: Any): Boolean

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def compose(p: Path): Path

    Aggregate 2 paths

    Aggregate 2 paths

    (Path \ "foo" \ "bar").compose(Path \ "baz") == (Path \ "foo" \ "bar" \ "baz")
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(o: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def from[I]: Deferred[I]

  18. final def getClass(): Class[_]

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

    Definition Classes
    Path → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  24. val path: List[PathNode]

  25. def read[I, O](implicit r: (Path) ⇒ RuleLike[I, O]): Rule[I, O]

  26. def read[I, J, O](sub: ⇒ RuleLike[J, O])(implicit r: (Path) ⇒ RuleLike[I, J]): Rule[I, O]

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

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    Path → 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( ... )
  32. def write[O, J, I](format: ⇒ WriteLike[O, J])(implicit w: (Path) ⇒ WriteLike[J, I]): Write[O, I]

    Creates a Writes the serialize data to the desired output type using a provided format.

    Creates a Writes the serialize data to the desired output type using a provided format. *

    val w = (Path \ "date").write(date("yyyy-MM-dd""))
    w.writes(new Date()) == Json.obj("date" -> "2013-10-3")
  33. def write[O, I](implicit w: (Path) ⇒ WriteLike[O, I]): Write[O, I]

    Creates a Writes the serialize data to the desired output type

    Creates a Writes the serialize data to the desired output type

    val contact = Contact("Julien", "Tournay")
    implicit def contactWrite = (Path \ "firstname").write[String, UrlFormEncoded]
    contactWrite.writes(contact) mustEqual Map("firstname" -> "Julien")

Inherited from AnyRef

Inherited from Any

Ungrouped