scala.xml

XML

object XML extends XMLLoader[Elem]

The object XML provides constants, and functions to load and save XML elements. Use this when data binding is not desired, i.e. when XML is handled using Symbol nodes.

Inherits

  1. XMLLoader
  2. AnyRef
  3. Any

Value Members

  1. def adapter: FactoryAdapter

  2. val encoding: String

  3. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  4. def hashCode(): Int

    Returns a hash code value for the object

  5. val lang: String

  6. def load(source: InputSource): T

  7. def load(sysID: String): T

  8. def load(reader: Reader): T

  9. def load(is: InputStream): T

    loads XML from given InputStream, Reader, sysID, or InputSource

  10. def loadFile(name: String): T

  11. def loadFile(fd: FileDescriptor): T

  12. def loadFile(file: File): T

    Loads XML from the given file, file descriptor, or filename

  13. def loadString(string: String): T

    Loads XML from the given String

  14. def loadXML(source: InputSource, parser: SAXParser): T

    Loads XML from the given InputSource, using the supplied parser

  15. val namespace: String

  16. def parser: SAXParser

  17. val preserve: String

  18. val space: String

  19. def toString(): String

    Returns a string representation of the object

  20. def withSAXParser(p: SAXParser): XMLLoader[Elem]

    Returns an XMLLoader whose load* methods will use the supplied SAXParser

  21. val xml: String

  22. val xmlns: String