trait DefaultXmlReaders extends AnyRef
- Alphabetic
- By Inheritance
- DefaultXmlReaders
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
at[A](path: XPath)(implicit reader: XmlReader[A]): XmlReader[A]
An XmlReader that applies
reader
to the
NodeSeqlocated at the XPath
path.
-
def
attribute[A](name: String)(implicit reader: XmlReader[A]): XmlReader[A]
An XmlReader that extracts a value from the attribute of the input NodeSeq.
-
implicit
val
booleanReader: XmlReader[Boolean]
XmlReader that gets the text of a single node as a boolean
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
implicit
val
doubleReader: XmlReader[Double]
XmlReader that gets the text of a single node as a double.
-
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. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fail(error: ParseError): XmlReader[Nothing]
- returns
An XmlReader that always fails with
error
-
def
first[T](implicit reader: XmlReader[T]): XmlReader[T]
An XmlReader that extracts the first node of the NodeSeq
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
implicit
val
identityReader: XmlReader[NodeSeq]
Identity XmlReader that just extracts the
NodeSeq
it is passed. -
implicit
val
intReader: XmlReader[Int]
XmlReader that gets the text of a single node as an int
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
label[A](name: String)(implicit reader: XmlReader[A]): XmlReader[A]
An XmlReader that extracts Nodes with a tag label of
name
and then appliesreader
. -
implicit
val
longReader: XmlReader[Long]
XmlReader that gets the text of a single node as a long
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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 returnParseFailure(MultipleMatchesError())
. -
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
nth[T](n: Int)(implicit reader: XmlReader[T]): XmlReader[T]
An XmlReader that extracts the nth node of the NodeSeq
-
implicit
def
optionReader[T](implicit reader: XmlReader[T]): XmlReader[Option[T]]
Implicit XmlReader for an Option.
-
def
pure[A](a: ⇒ A): XmlReader[A]
Wrap a value in an XmlReader.
-
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
-
val
spaceDelimitedArray: XmlReader[Array[String]]
An XmlReader for extracting space delimited lists of values as an Array of strings.
-
def
strictReadSeq[A](implicit reader: XmlReader[A]): XmlReader[Seq[A]]
Like seq but fail if any nodes fail the reader.
-
implicit
val
stringReader: XmlReader[String]
XmlReader matches the text of a single node.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
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.