final
class
Document extends DocumentApi[Elem] with Immutable
Instance Constructors
-
new
Document(uriOption: Option[URI], documentElement: Elem, processingInstructions: IndexedSeq[ProcessingInstruction], comments: IndexedSeq[Comment])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
val
comments: IndexedSeq[Comment]
-
-
val
documentElement: Elem
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
val
uriOption: Option[URI]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withDocumentElement(newRoot: Elem): Document
-
def
withUriOption(newUriOption: Option[URI]): Document
Inherited from Immutable
Inherited from AnyRef
Inherited from Any
Document, containing an "indexed" document element.Note that class
Documentdoes not have any query methods forEleminstances. In particular, theParentElemApidoes not apply to documents. Therefore, given a document, querying for elements (other than the document element itself) always goes via the document element.