com.codecommit.antixml

XMLConvertable

object XMLConvertable extends SecondPrecedenceConvertables

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:

This corresponds with the roughly-intuitive conversion precedence. Thus, if we have a value of type scala.xml.Elem and we invoke the anti method 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, the anti method 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 the anti method on this maximally-widened type will produce a value of type Group[Node]. Thus, the most specific conversion is chosen in all cases.

Source
conversion.scala
Linear Supertypes
SecondPrecedenceConvertables, ThirdPrecedenceConvertables, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. XMLConvertable
  2. SecondPrecedenceConvertables
  3. ThirdPrecedenceConvertables
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  6. object ElemConvertable extends XMLConvertable[Elem, Elem]

    Attributes
    implicit
  7. object EntityRefConvertable extends XMLConvertable[EntityRef, EntityRef]

    Attributes
    implicit
  8. object TextConvertable extends XMLConvertable[Atom[String], Text]

    Attributes
    implicit
  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  15. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  16. def isInstanceOf [T0] : Boolean

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

    Attributes
    final
    Definition Classes
    AnyRef
  18. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  20. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  21. def toString (): String

    Definition Classes
    AnyRef → Any
  22. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SecondPrecedenceConvertables

Inherited from ThirdPrecedenceConvertables

Inherited from AnyRef

Inherited from Any