The type of the document element.
The type of the document element.
The ("stable") document type itself.
The ("stable") document type itself. It is not restricted in the "document API" traits and classes (only indirectly, through ThisDocApi).
Concrete document classes will restrict this type to that document class itself.
Upperbound on type ThisDoc, which must be restricted to a sub-type of the "document API" trait or class in question.
Upperbound on type ThisDoc, which must be restricted to a sub-type of the "document API" trait or class in question.
Concrete document classes will restrict this type to that document class itself.
Creates a copy, but with the new documentElement passed as parameter newRoot
Creates a copy, but with the new xmlDeclarationOption passed as parameter newXmlDeclarationOption
Returns the document element
Returns the document element
Returns the document URI, falling back to the empty URI if absent.
Returns the optional document URI, wrapped in an Option
Returns the optional document URI, wrapped in an Option
Document, containing an "indexed" document element.
Note that class
IndexedDocumentdoes not have any query methods forEleminstances. In particular, theElemApidoes not apply to documents. Therefore, given a document, querying for elements (other than the document element itself) always goes via the document element.