Class/Object

eu.cdevreeze.yaidom.jsdom

JsDomDocument

Related Docs: object JsDomDocument | package jsdom

Permalink

final class JsDomDocument extends BackingDocumentApi

Wrapper around org.scalajs.dom.raw.Document. The yaidom wrapper is not considered to be a node, unlike the wrapped DOM document (which is a DOM node).

Use these wrappers only if there is a specific need for them. They are not immutable, and they are not thread-safe (which is no issue in the browser).

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsDomDocument
  2. BackingDocumentApi
  3. DocumentApi
  4. AnyDocumentApi
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsDomDocument(wrappedDocument: Document)

    Permalink

Type Members

  1. type DocElemType = JsDomElem

    Permalink

    The type of the document element.

    The type of the document element.

    Definition Classes
    JsDomDocumentBackingDocumentApiAnyDocumentApi
  2. type ThisDoc = JsDomDocument

    Permalink

    The document type itself.

    The document type itself. It must be restricted to a sub-type of the document API trait in question.

    Concrete document classes will restrict this type to that document class itself.

    Definition Classes
    JsDomDocumentDocumentApiAnyDocumentApi

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def children: IndexedSeq[CanBeDomDocumentChild]

    Permalink

    Returns the child nodes of the document.

    Returns the child nodes of the document. Precisely one of them must be the document element.

    Definition Classes
    JsDomDocumentBackingDocumentApi
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def comments: IndexedSeq[JsDomComment]

    Permalink

    Returns the comment child nodes of the document.

    Returns the comment child nodes of the document.

    Definition Classes
    JsDomDocumentBackingDocumentApi
  8. def documentElement: JsDomElem

    Permalink

    Returns the document element

    Returns the document element

    Definition Classes
    JsDomDocumentDocumentApi
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def processingInstructions: IndexedSeq[JsDomProcessingInstruction]

    Permalink

    Returns the processing instruction child nodes of the document.

    Returns the processing instruction child nodes of the document.

    Definition Classes
    JsDomDocumentBackingDocumentApi
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def uriOption: Option[URI]

    Permalink

    Returns the optional document URI, wrapped in an Option

    Returns the optional document URI, wrapped in an Option

    Definition Classes
    JsDomDocumentDocumentApi
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. val wrappedDocument: Document

    Permalink
  26. def xmlDeclarationOption: Option[XmlDeclaration]

    Permalink

    Returns the optional XML declaration.

    Returns the optional XML declaration.

    Definition Classes
    JsDomDocumentBackingDocumentApi

Inherited from BackingDocumentApi

Inherited from DocumentApi

Inherited from AnyDocumentApi

Inherited from AnyRef

Inherited from Any

Ungrouped