Package

eu.cdevreeze.yaidom

convert

Permalink

package convert

Support for conversions from/to yaidom. This package mostly contains conversions between yaidom objects and JAXP DOM or StAX objects, in both directions.

This conversion support is used by the Document parsers and printers in the parse and print packages, respectively. This package can also be used directly by consumers of the yaidom API.

These JAXP-object conversions suggest that yaidom is optimistic about the available (heap) memory.

This package depends on the eu.cdevreeze.yaidom.core, eu.cdevreeze.yaidom.queryapi and eu.cdevreeze.yaidom.simple packages, and not the other way around. The eu.cdevreeze.yaidom.parse and eu.cdevreeze.yaidom.print packages depend on this package.

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

Type Members

  1. trait JsDomToYaidomConversions extends ConverterToDocument[Document]

    Permalink

    Converter from JS DOM nodes to yaidom nodes, in particular from org.scalajs.dom.raw.Element to eu.cdevreeze.yaidom.simple.Elem and from org.scalajs.dom.raw.Document to eu.cdevreeze.yaidom.simple.Document.

    Converter from JS DOM nodes to yaidom nodes, in particular from org.scalajs.dom.raw.Element to eu.cdevreeze.yaidom.simple.Elem and from org.scalajs.dom.raw.Document to eu.cdevreeze.yaidom.simple.Document.

    This converter regards the input more like an "ElemBuilder" than an "Elem", in that namespace declarations instead of scopes are extracted from input "elements", and in that conversions to yaidom Elems take an additional parent scope parameter (against which namespace declarations are resolved to get the scope of the yaidom element).

Value Members

  1. object JsDomConversions extends JsDomToYaidomConversions

    Permalink

    Conversions between yaidom nodes and JS DOM nodes.

    Conversions between yaidom nodes and JS DOM nodes.

    TODO Conversion from yaidom to JS DOM.

Inherited from AnyRef

Inherited from Any

Ungrouped