Class/Object

jto.validation

Path

Related Docs: object Path | package validation

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Type Members

  1. class Deferred[I] extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(other: Path): Path

    Permalink
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def \(child: PathNode): Path

    Permalink
  6. def \(idx: Int): Path

    Permalink
  7. def \(key: String): Path

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def canEqual(o: Any): Boolean

    Permalink
  10. def clone(): AnyRef

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

    Permalink

    Aggregate 2 paths

    Aggregate 2 paths

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

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

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

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

    Permalink
  16. final def getClass(): Class[_]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val path: List[PathNode]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def write[I, J, O](format: ⇒ WriteLike[I, J])(implicit w: (Path) ⇒ WriteLike[J, O]): Write[I, O]

    Permalink

    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")
  31. def write[I, O](implicit w: (Path) ⇒ WriteLike[I, O]): Write[I, O]

    Permalink

    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) shouldBe Map("firstname" -> "Julien")

Inherited from AnyRef

Inherited from Any

Ungrouped