eu.cdevreeze.yaidom.convert

ScalaXmlToYaidomConversions

trait ScalaXmlToYaidomConversions extends ConverterToDocument[scala.xml.Document] with ConverterToElem[scala.xml.Elem]

Converter from Scala XML nodes to yaidom nodes, in particular from scala.xml.Elem to eu.cdevreeze.yaidom.Elem and from scala.xml.Document to eu.cdevreeze.yaidom.Document.

This converter is handy when one wants to use XML literals (as offered by standard Scala XML) in combination with yaidom.

Linear Supertypes
ConverterToElem[scala.xml.Elem], ConverterToDocument[scala.xml.Document], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaXmlToYaidomConversions
  2. ConverterToElem
  3. ConverterToDocument
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. final def convertToCData(v: PCData): Text

    Converts an scala.xml.PCData to a eu.cdevreeze.yaidom.Text

  9. final def convertToComment(v: scala.xml.Comment): Comment

    Converts an scala.xml.Comment to a eu.cdevreeze.yaidom.Comment

  10. final def convertToDocument(v: scala.xml.Document): Document

    Converts an scala.xml.Document to a eu.cdevreeze.yaidom.Document.

    Converts an scala.xml.Document to a eu.cdevreeze.yaidom.Document. The resulting yaidom Document has no document URI.

    Definition Classes
    ScalaXmlToYaidomConversionsConverterToDocument
  11. final def convertToElem(v: scala.xml.Elem): Elem

    Converts an scala.xml.Elem to an eu.cdevreeze.yaidom.Elem.

    Converts an scala.xml.Elem to an eu.cdevreeze.yaidom.Elem.

    Definition Classes
    ScalaXmlToYaidomConversionsConverterToElem
  12. final def convertToEntityRef(v: scala.xml.EntityRef): EntityRef

    Converts an scala.xml.EntityRef to a eu.cdevreeze.yaidom.EntityRef

  13. final def convertToNodeOption(v: scala.xml.Node): Option[Node]

    Converts an scala.xml.Node to an optional eu.cdevreeze.yaidom.Node.

  14. final def convertToProcessingInstruction(v: ProcInstr): ProcessingInstruction

    Converts an scala.xml.ProcInstr to a eu.cdevreeze.yaidom.ProcessingInstruction

  15. final def convertToText(v: scala.xml.Text): Text

    Converts an scala.xml.Text to a eu.cdevreeze.yaidom.Text

  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. final def extractAttributes(attrs: MetaData): IndexedSeq[(QName, String)]

    Converts attributes, given as scala.xml.MetaData, to an immutable.IndexedSeq[(QName, String)].

  19. final def extractScope(scope: NamespaceBinding): Scope

    Converts the scala.xml.NamespaceBinding to a yaidom Scope.

    Converts the scala.xml.NamespaceBinding to a yaidom Scope.

    This implementation is brittle because of bug: SI 6939: Namespace binding (xmlns) is duplicated if a child redefines a prefix. (see https://issues.scala-lang.org/browse/SI-6939 and https://github.com/scala/scala/pull/1858). Still, this implementation tries to work around that bug.

  20. def finalize(): Unit

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

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

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

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

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  28. final def toQName(v: MetaData): QName

    Extracts the QName of an attribute as scala.xml.MetaData.

  29. final def toQName(v: scala.xml.Elem): QName

    Extracts the QName of an scala.xml.Elem

  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ConverterToElem[scala.xml.Elem]

Inherited from ConverterToDocument[scala.xml.Document]

Inherited from AnyRef

Inherited from Any

Ungrouped