t

com.lucidchart.open.xtract

DefaultXmlReaders

trait DefaultXmlReaders extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultXmlReaders
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def any[T](reader0: XmlReader[T], readers: XmlReader[T]*): XmlReader[T]

    An XmlReader that succeeds if any of the supplied readers succeeds with the input.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def at[A](path: XPath)(implicit reader: XmlReader[A]): XmlReader[A]

    An XmlReader that applies reader to the NodeSeq located at the XPath path.

  7. def attribute[A](name: String)(implicit reader: XmlReader[A]): XmlReader[A]

    An XmlReader that extracts a value from the attribute of the input NodeSeq.

  8. implicit val booleanReader: XmlReader[Boolean]

    XmlReader that gets the text of a single node as a boolean

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  10. implicit val doubleReader: XmlReader[Double]

    XmlReader that gets the text of a single node as a double.

  11. implicit def enum[T <: Enumeration](e: T): XmlReader[enum.T.Value]

    XmlReader that extracts an enumeration value from a NodeSeq.

    XmlReader that extracts an enumeration value from a NodeSeq. It attempts to match the text of the node to the string value of one of the enumeration values.

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def fail(error: ParseError): XmlReader[Nothing]

    returns

    An XmlReader that always fails with error

  15. def first[T](implicit reader: XmlReader[T]): XmlReader[T]

    An XmlReader that extracts the first node of the NodeSeq

  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. implicit val identityReader: XmlReader[NodeSeq]

    Identity XmlReader that just extracts the NodeSeq it is passed.

  19. implicit val intReader: XmlReader[Int]

    XmlReader that gets the text of a single node as an int

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def label[A](name: String)(implicit reader: XmlReader[A]): XmlReader[A]

    An XmlReader that extracts Nodes with a tag label of name and then applies reader.

  22. implicit val longReader: XmlReader[Long]

    XmlReader that gets the text of a single node as a long

  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. implicit val nodeReader: XmlReader[Node]

    XmlReader that matches exactly one XML node.

    XmlReader that matches exactly one XML node.

    If the input NodeSeq is empty, return ParseFailure(EmptyError()), If the input NodeSeq contains multiple nodes return ParseFailure(MultipleMatchesError()).

  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def nth[T](n: Int)(implicit reader: XmlReader[T]): XmlReader[T]

    An XmlReader that extracts the nth node of the NodeSeq

  28. implicit def optionReader[T](implicit reader: XmlReader[T]): XmlReader[Option[T]]

    Implicit XmlReader for an Option.

    Implicit XmlReader for an Option. This XmlReader will always succeed. If reader succeeds, the XmlReader will obtain a Some, otherwise it will be None

  29. def pure[A](a: ⇒ A): XmlReader[A]

    Wrap a value in an XmlReader.

    Wrap a value in an XmlReader.

    returns

    An XmlReader that always succeeds with a

  30. def seq[A](implicit reader: XmlReader[A]): XmlReader[Seq[A]]

    Read each node in the NodeSeq with reader, and succeeds with a PartialParseSuccess if any of the elements fails.

    Read each node in the NodeSeq with reader, and succeeds with a PartialParseSuccess if any of the elements fails.

    Use strictReadSeq if you want to fail on nodes that don't parse

  31. val spaceDelimitedArray: XmlReader[Array[String]]

    An XmlReader for extracting space delimited lists of values as an Array of strings.

  32. def strictReadSeq[A](implicit reader: XmlReader[A]): XmlReader[Seq[A]]

    Like seq but fail if any nodes fail the reader.

  33. implicit val stringReader: XmlReader[String]

    XmlReader matches the text of a single node.

  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped