scala

# xml

#### package xml

Source
  package.scala

Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. xml
2. AnyRef
3. Any

1. Hide All
2. Show all

Learn more about member selection
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 scala.xml.PrefixedAttribute and scala.xml.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 = org.xml.sax.EntityResolver

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 = org.xml.sax.InputSource

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 collection.immutable.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 = org.xml.sax.SAXException

22. #### type SAXParseException = org.xml.sax.SAXParseException

23. #### type SAXParser = javax.xml.parsers.SAXParser

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

   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 MinimizeMode extends Enumeration

   Governs how empty elements (i.

6. #### object Node

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

7. #### object NodeSeq

   This object .

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

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

9. #### object PCData extends Serializable

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

10. #### object PrefixedAttribute extends Serializable

11. #### object QNode

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

12. #### object Source

13. #### object Text extends Serializable

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

14. #### object TextBuffer

15. #### object TopScope extends NamespaceBinding

    top level namespace scope.

16. #### object Unparsed extends Serializable

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

17. #### object UnprefixedAttribute extends Serializable

18. #### 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.

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

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

20. #### val XercesClassName: String

21. #### object Xhtml

22. #### package dtd

23. #### package factory

24. #### package include

25. #### package parsing

26. #### package persistent

27. #### package pull

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

28. #### package transform

### Inherited from AnyRef

### Inherited from Any

### Ungrouped