trait XMLLoader[T <: Node] extends AnyRef
Presents collection of XML loading methods which use the parser created by "def parser" or the reader created by "def reader".
- Alphabetic
- By Inheritance
- XMLLoader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- def adapter: FactoryAdapter
- def load(reader: Reader): T
- def load(inputStream: InputStream): T
- def load(sysId: String): T
- def load(url: URL): T
- def load(inputSource: InputSource): T
- def loadDocument(reader: Reader): Document
- def loadDocument(inputStream: InputStream): Document
- def loadDocument(sysId: String): Document
- def loadDocument(url: URL): Document
-
def
loadDocument(inputSource: InputSource): Document
Loads XML Document.
- def loadFile(fileDescriptor: FileDescriptor): T
- def loadFile(file: File): T
- def loadFile(fileName: String): T
- def loadFileDocument(fileDescriptor: FileDescriptor): Document
- def loadFileDocument(file: File): Document
- def loadFileDocument(fileName: String): Document
- def loadFileNodes(fileDescriptor: FileDescriptor): Seq[Node]
- def loadFileNodes(file: File): Seq[Node]
- def loadFileNodes(fileName: String): Seq[Node]
- def loadNodes(reader: Reader): Seq[Node]
- def loadNodes(inputStream: InputStream): Seq[Node]
- def loadNodes(sysId: String): Seq[Node]
- def loadNodes(url: URL): Seq[Node]
-
def
loadNodes(inputSource: InputSource): Seq[Node]
Load XML nodes, including comments and processing instructions that precede and follow the root element.
- def loadString(string: String): T
- def loadStringDocument(string: String): Document
- 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.
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).
- def loadXMLNodes(inputSource: InputSource, parser: SAXParser): Seq[Node]
- def parser: SAXParser
- def reader: org.xml.sax.XMLReader