scala

# xml

#### package xml

Visibility

1. Public
2. All

### Type Members

1. #### class Atom[+A] extends SpecialNode with Serializable

   The class `Atom` provides an XML node for text (`PCDATA`).

2. #### trait Attribute extends MetaData

   The `Attribute` trait defines the interface shared by both PrefixedAttribute and UnprefixedAttribute.

3. #### case class Comment(commentText: String) extends SpecialNode with Product with Serializable

   The class `Comment` implements an XML node for comments.

4. #### class Document extends NodeSeq with XMLEvent with Serializable

   A document information item (according to InfoSet spec).

5. #### class Elem extends Node with Serializable

   The case class `Elem` extends the `Node` class, providing an immutable data object representing an XML element.

6. #### case class EntityRef(entityName: String) extends SpecialNode with Product with Serializable

   The class `EntityRef` implements an XML node for entity references.

7. #### type EntityResolver = EntityResolver

   Definition Classes
     package

8. #### trait Equality extends Equals

9. #### final case class Group(nodes: Seq[Node]) extends Node with Product with Serializable

   A hack to group XML nodes in one node for output.

10. #### type InputSource = InputSource

    Definition Classes
      package

11. #### case class MalformedAttributeException(msg: String) extends RuntimeException with Product with Serializable

12. #### abstract class MetaData extends AbstractIterable[MetaData] with Iterable[MetaData] with Equality with Serializable

    This class represents an attribute and at the same time a linked list of attributes.

13. #### case class NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding) extends Equality with Product with Serializable

    The class `NamespaceBinding` represents namespace bindings and scopes.

14. #### abstract class Node extends NodeSeq

    An abstract class representing XML with nodes of a labelled tree.

15. #### class NodeBuffer extends ArrayBuffer[Node]

    This class acts as a Buffer for nodes.

16. #### abstract class NodeSeq extends AbstractSeq[Node] with Seq[Node] with SeqLike[Node, NodeSeq] with Equality

    This class implements a wrapper around `Seq[Node]` that adds XPath and comprehension methods.

17. #### class PCData extends Atom[String]

    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.

18. #### class PrefixedAttribute extends MetaData with Attribute

    prefixed attributes always have a non-null namespace.

19. #### class PrettyPrinter extends AnyRef

    Class for pretty printing.

20. #### case class ProcInstr(target: String, proctext: String) extends SpecialNode with Product with Serializable

    an XML node for processing instructions (PI)

21. #### type SAXException = SAXException

    Definition Classes
      package

22. #### type SAXParseException = SAXParseException

    Definition Classes
      package

23. #### type SAXParser = SAXParser

    Definition Classes
      package

24. #### abstract class SpecialNode extends Node with XMLEvent

    `SpecialNode` is a special XML node which represents either text `(PCDATA)`, a comment, a `PI`, or an entity ref.

25. #### class Text extends Atom[String]

    The class `Text` implements an XML node for text (PCDATA).

26. #### class TextBuffer extends AnyRef

    The class `TextBuffer` is for creating text nodes without surplus whitespace.

27. #### abstract class TypeSymbol extends AnyRef

28. #### class Unparsed extends Atom[String]

    An XML node for unparsed content.

29. #### class UnprefixedAttribute extends MetaData with Attribute

    Unprefixed attributes have the null namespace, and no prefix field

### Value Members

1. #### object Attribute extends Serializable

   This singleton object contains the `apply` and `unapply` methods for convenient construction and deconstruction.

2. #### object Elem extends Serializable

   This singleton object contains the `apply` and `unapplySeq` methods for convenient construction and deconstruction.

3. #### object Equality extends AnyRef

   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`.

4. #### object MetaData extends Serializable

   Copyright 2008 Google Inc.

5. #### object Node extends AnyRef

   This singleton object contains the `unapplySeq` method for convenient deconstruction.

6. #### object NodeSeq extends AnyRef

   This object .

7. #### object Null extends MetaData with Product with Serializable

   Essentially, every method in here is a dummy, returning Zero[T].

8. #### object PCData extends Serializable

   This singleton object contains the `apply`and `unapply` methods for convenient construction and deconstruction.

9. #### object PrefixedAttribute extends Serializable

10. #### object QNode extends AnyRef

    This object provides an extractor method to match a qualified node with its namespace URI

11. #### object Source extends AnyRef

12. #### object Text extends Serializable

    This singleton object contains the `apply`and `unapply` methods for convenient construction and deconstruction.

13. #### object TextBuffer extends AnyRef

14. #### object TopScope extends NamespaceBinding

    top level namespace scope.

15. #### object Unparsed extends Serializable

    This singleton object contains the `apply`and `unapply` methods for convenient construction and deconstruction.

16. #### object UnprefixedAttribute extends Serializable

17. #### object Utility extends TokenTests

    The `Utility` object provides utility functions for processing instances of bound and not bound XML classes, as well as escaping text nodes.

18. #### object XML extends XMLLoader[Elem]

    The object `XML` provides constants, and functions to load and save XML elements.

19. #### val XercesClassName: String

    Definition Classes
      package

20. #### object Xhtml extends AnyRef

21. #### package dtd

22. #### package factory

23. #### package include

24. #### package parsing

25. #### package persistent

26. #### package pull

    Classes needed to view an XML document as a series of events.

27. #### package transform