XMLLoader

scala.xml.factory.XMLLoader
trait XMLLoader[T <: Node]

Presents collection of XML loading methods which use the parser created by "def parser" or the reader created by "def reader".

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object XML.type

Members list

Value members

Concrete methods

def load(inputSource: InputSource): T
def load(url: URL): T
def load(sysId: String): T
def load(inputStream: InputStream): T
def load(reader: Reader): T
def loadDocument(inputSource: InputSource): Document

Loads XML Document.

Loads XML Document.

Attributes

def loadDocument(inputStream: InputStream): Document
def loadDocument(reader: Reader): Document
def loadFile(fileName: String): T
def loadFile(file: File): T
def loadFile(fileDescriptor: FileDescriptor): T
def loadFileDocument(fileName: String): Document
def loadFileDocument(fileDescriptor: FileDescriptor): Document
def loadFileNodes(fileName: String): Seq[Node]
def loadFileNodes(file: File): Seq[Node]
def loadFileNodes(fileDescriptor: FileDescriptor): Seq[Node]
def loadNodes(inputSource: InputSource): Seq[Node]

Load XML nodes, including comments and processing instructions that precede and follow the root element.

Load XML nodes, including comments and processing instructions that precede and follow the root element.

Attributes

def loadNodes(url: URL): Seq[Node]
def loadNodes(sysId: String): Seq[Node]
def loadNodes(inputStream: InputStream): Seq[Node]
def loadNodes(reader: Reader): Seq[Node]
def loadString(string: String): T
def loadStringNodes(string: String): Seq[Node]
def loadXML(inputSource: InputSource, parser: SAXParser): T

Loads XML from the given InputSource, using the supplied parser or reader. The methods available in scala.xml.XML use the XML parser in the JDK (unless another parser is present on the classpath).

Loads XML from the given InputSource, using the supplied parser or reader. The methods available in scala.xml.XML use the XML parser in the JDK (unless another parser is present on the classpath).

Attributes

def loadXMLNodes(inputSource: InputSource, parser: SAXParser): Seq[Node]