The class Atom
provides an XML node for text (PCDATA
).
The Attribute
trait defines the interface shared by both
PrefixedAttribute and UnprefixedAttribute.
The class Comment
implements an XML node for comments.
A document information item (according to InfoSet spec).
The case class Elem
extends the Node
class,
providing an immutable data object representing an XML element.
The class EntityRef
implements an XML node for entity references.
A hack to group XML nodes in one node for output.
This class represents an attribute and at the same time a linked list of attributes.
The class NamespaceBinding
represents namespace bindings
and scopes.
An abstract class representing XML with nodes of a labelled tree.
This class acts as a Buffer for nodes.
This class implements a wrapper around Seq[Node]
that adds XPath
and comprehension methods.
This class (which is not used by all XML parsers, but always used by the XHTML one) represents parseable character data, which appeared as CDATA sections in the input and is to be preserved as CDATA section in the output.
prefixed attributes always have a non-null namespace.
Class for pretty printing.
an XML node for processing instructions (PI)
SpecialNode
is a special XML node which represents either text
(PCDATA)
, a comment, a PI
, or an entity ref.
The class Text
implements an XML node for text (PCDATA).
The class TextBuffer
is for creating text nodes without surplus
whitespace.
An XML node for unparsed content.
Unprefixed attributes have the null namespace, and no prefix field
This singleton object contains the apply
and unapply
methods for
convenient construction and deconstruction.
This singleton object contains the apply
and unapplySeq
methods for
convenient construction and deconstruction.
In an attempt to contain the damage being inflicted on consistency by the
ad hoc equals
methods spread around xml
, the logic is centralized and
all the xml
classes go through the xml.Equality trait
.
Copyright 2008 Google Inc.
Governs how empty elements (i.
This singleton object contains the unapplySeq
method for
convenient deconstruction.
This object .
Essentially, every method in here is a dummy, returning Zero[T].
This singleton object contains the apply
and unapply
methods for
convenient construction and deconstruction.
This object provides an extractor method to match a qualified node with its namespace URI
This singleton object contains the apply
and unapply
methods for
convenient construction and deconstruction.
top level namespace scope.
This singleton object contains the apply
and unapply
methods for
convenient construction and deconstruction.
The Utility
object provides utility functions for processing instances
of bound and not bound XML classes, as well as escaping text nodes.
The object XML
provides constants, and functions to load
and save XML elements.
Classes needed to view an XML document as a series of events.