Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
object
ElemConvertable
extends XMLConvertable[Elem, Elem]
-
object
EntityRefConvertable
extends XMLConvertable[EntityRef, EntityRef]
-
object
TextConvertable
extends XMLConvertable[Atom[String], Text]
-
def
asInstanceOf
[T0]
: T0
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from SecondPrecedenceConvertables
Inherited from ThirdPrecedenceConvertables
Inherited from AnyRef
Inherited from Any
Contains the built-in explicit conversions into Anti-XML. Currently, these conversions only cover types in
scala.xml. This may be expanded in future.All of the members in this object are implicit, and thus it is rare for a user to need to access them directly. The membership is contrived in such a way that the implicit resolution will use the following precedence order:
ElemConvertableTextConvertableEntityRefConvertableNodeConvertableNodeSeqConvertableThis corresponds with the roughly-intuitive conversion precedence. Thus, if we have a value of type scala.xml.Elem and we invoke the
antimethod on that value, the result will be of type Elem. However, if we take that same value and ascribe it the type of scala.xml.Node, theantimethod will return a value of type Node. Finally, we can take this same value and ascribe it the even less-specific type of scala.xml.NodeSeq (or even scala.Seq[scala.xml.Node], for that matter). Invoking theantimethod on this maximally-widened type will produce a value of type Group[Node]. Thus, the most specific conversion is chosen in all cases.