abstract class IndexedDocument extends BackingDocumentApi
Document, containing an "indexed" document element.
Note that class IndexedDocument
does not have any query methods for Elem
instances. In particular, the ElemApi
does not
apply to documents. Therefore, given a document, querying for elements (other than the document element itself) always goes
via the document element.
- Self Type
- IndexedDocument
- Alphabetic
- By Inheritance
- IndexedDocument
- BackingDocumentApi
- DocumentApi
- AnyDocumentApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IndexedDocument(xmlDeclarationOption: Option[XmlDeclaration], children: IndexedSeq[CanBeDocumentChild])
Type Members
-
type
DocElemType = IndexedScopedNode.Elem[UnderlyingElem]
The type of the document element.
The type of the document element.
- Definition Classes
- IndexedDocument → BackingDocumentApi → AnyDocumentApi
-
abstract
type
ThisDoc <: IndexedDocument
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
- IndexedDocument → DocumentApi → AnyDocumentApi
- abstract type UnderlyingDoc <: Aux[UnderlyingDoc, UnderlyingElem]
- abstract type UnderlyingElem <: Aux[_, UnderlyingElem]
Abstract Value Members
- abstract def document: Aux[UnderlyingDoc, UnderlyingElem]
-
abstract
def
withDocumentElement(newRoot: DocElemType): ThisDoc
Creates a copy, but with the new documentElement passed as parameter newRoot
-
abstract
def
withXmlDeclarationOption(newXmlDeclarationOption: Option[XmlDeclaration]): ThisDoc
Creates a copy, but with the new xmlDeclarationOption passed as parameter newXmlDeclarationOption
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
children: IndexedSeq[CanBeDocumentChild]
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
- IndexedDocument → BackingDocumentApi
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
comments: IndexedSeq[Comment]
Returns the comment child nodes of the document.
Returns the comment child nodes of the document.
- Definition Classes
- IndexedDocument → BackingDocumentApi
-
final
def
documentElement: DocElemType
Returns the document element
Returns the document element
- Definition Classes
- IndexedDocument → DocumentApi
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
processingInstructions: IndexedSeq[ProcessingInstruction]
Returns the processing instruction child nodes of the document.
Returns the processing instruction child nodes of the document.
- Definition Classes
- IndexedDocument → BackingDocumentApi
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toString(): String
- Definition Classes
- IndexedDocument → AnyRef → Any
-
final
def
uri: URI
Returns the document URI, falling back to the empty URI if absent.
-
final
def
uriOption: Option[URI]
Returns the optional document URI, wrapped in an Option
Returns the optional document URI, wrapped in an Option
- Definition Classes
- IndexedDocument → DocumentApi
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
xmlDeclarationOption: Option[XmlDeclaration]
Returns the optional XML declaration.
Returns the optional XML declaration.
- Definition Classes
- IndexedDocument → BackingDocumentApi