NoBindingFactoryAdapter

scala.xml.parsing.NoBindingFactoryAdapter

nobinding adaptor providing callbacks to parser to create elements. implements hash-consing

Attributes

Graph
Supertypes
trait NodeFactory[Elem]
trait XMLLoader[Node]
trait DeclHandler
trait ErrorHandler
trait DTDHandler
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def createComment(characters: String): Seq[Comment]

Creates a comment.

Creates a comment.

Attributes

Definition Classes
override def createNode(pre: String, label: String, attrs: MetaData, scope: NamespaceBinding, children: List[Node]): Elem

From FactoryAdapter. Creates a node. never creates the same node twice, using hash-consing. TODO: deprecate as in Elem, or forward to create??

From FactoryAdapter. Creates a node. never creates the same node twice, using hash-consing. TODO: deprecate as in Elem, or forward to create??

Attributes

Definition Classes
override def createPCData(characters: String): PCData

Creates a cdata.

Creates a cdata.

Attributes

Definition Classes
override def createProcInstr(target: String, data: String): Seq[ProcInstr]

Creates a processing instruction.

Creates a processing instruction.

Attributes

Definition Classes
override def createText(text: String): Text

Creates a text node.

Creates a text node.

Attributes

Definition Classes
override def nodeContainsText(label: String): Boolean

True. Every XML node may contain text that the application needs

True. Every XML node may contain text that the application needs

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
XMLLoader
override def attributeDecl(eName: String, aName: String, `type`: String, mode: String, value: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
def captureText(): Unit

Captures text or cdata.

Captures text or cdata.

Attributes

Inherited from:
FactoryAdapter
override def characters(ch: Array[Char], offset: Int, length: Int): Unit

Capture characters, possibly normalizing whitespace.

Capture characters, possibly normalizing whitespace.

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def comment(ch: Array[Char], start: Int, length: Int): Unit

Comment.

Comment.

Attributes

Definition Classes
Inherited from:
FactoryAdapter
protected def construct(hash: Int, old: List[Elem], pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Elem

Attributes

Inherited from:
NodeFactory
override def elementDecl(name: String, model: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def endCDATA(): Unit

End of a CDATA section.

End of a CDATA section.

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def endDTD(): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def endDocument(): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def endElement(uri: String, _localName: String, qname: String): Unit

End element.

End element.

Attributes

Throws
Definition Classes
Inherited from:
FactoryAdapter
override def endEntity(name: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def endPrefixMapping(prefix: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
def eqElements(ch1: Seq[Node], ch2: Seq[Node]): Boolean

Attributes

Inherited from:
NodeFactory

Attributes

Inherited from:
DefaultHandler
override def externalEntityDecl(name: String, publicId: String, systemId: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter

Attributes

Inherited from:
DefaultHandler

Attributes

Inherited from:
DefaultHandler2
override def ignorableWhitespace(ch: Array[Char], offset: Int, length: Int): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def internalEntityDecl(name: String, value: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
def load(reader: Reader): Node

Attributes

Inherited from:
XMLLoader
def load(inputStream: InputStream): Node

Attributes

Inherited from:
XMLLoader
def load(sysId: String): Node

Attributes

Inherited from:
XMLLoader
def load(url: URL): Node

Attributes

Inherited from:
XMLLoader
def load(inputSource: InputSource): Node

Attributes

Inherited from:
XMLLoader
def loadDocument(inputSource: InputSource, xmlReader: XMLReader): Document

Load XML document from the inputSource using the xmlReader.

Load XML document from the inputSource using the xmlReader.

Attributes

Inherited from:
FactoryAdapter
def loadDocument(reader: Reader): Document

Attributes

Inherited from:
XMLLoader
def loadDocument(inputStream: InputStream): Document

Attributes

Inherited from:
XMLLoader

Attributes

Inherited from:
XMLLoader

Attributes

Inherited from:
XMLLoader
def loadDocument(inputSource: InputSource): Document

Loads XML Document.

Loads XML Document.

Attributes

Inherited from:
XMLLoader
def loadFile(fileDescriptor: FileDescriptor): Node

Attributes

Inherited from:
XMLLoader
def loadFile(file: File): Node

Attributes

Inherited from:
XMLLoader
def loadFile(fileName: String): Node

Attributes

Inherited from:
XMLLoader
def loadFileDocument(fileDescriptor: FileDescriptor): Document

Attributes

Inherited from:
XMLLoader

Attributes

Inherited from:
XMLLoader
def loadFileDocument(fileName: String): Document

Attributes

Inherited from:
XMLLoader
def loadFileNodes(fileDescriptor: FileDescriptor): Seq[Node]

Attributes

Inherited from:
XMLLoader
def loadFileNodes(file: File): Seq[Node]

Attributes

Inherited from:
XMLLoader
def loadFileNodes(fileName: String): Seq[Node]

Attributes

Inherited from:
XMLLoader
def loadNodes(reader: Reader): Seq[Node]

Attributes

Inherited from:
XMLLoader
def loadNodes(inputStream: InputStream): Seq[Node]

Attributes

Inherited from:
XMLLoader
def loadNodes(sysId: String): Seq[Node]

Attributes

Inherited from:
XMLLoader
def loadNodes(url: URL): Seq[Node]

Attributes

Inherited from:
XMLLoader
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

Inherited from:
XMLLoader
def loadString(string: String): Node

Attributes

Inherited from:
XMLLoader

Attributes

Inherited from:
XMLLoader
def loadStringNodes(string: String): Seq[Node]

Attributes

Inherited from:
XMLLoader
def loadXML(inputSource: InputSource, parser: SAXParser): Node

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

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

Attributes

Inherited from:
XMLLoader

Attributes

Inherited from:
NodeFactory
def makeNode(pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Elem

Attributes

Inherited from:
NodeFactory

Attributes

Inherited from:
NodeFactory

Attributes

Inherited from:
NodeFactory
def makeText(s: String): Text

Attributes

Inherited from:
NodeFactory
def nodeEquals(n: Node, pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Boolean

Attributes

Inherited from:
NodeFactory
override def notationDecl(name: String, publicId: String, systemId: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter

Attributes

Inherited from:
XMLLoader
override def processingInstruction(target: String, data: String): Unit

Processing instruction.

Processing instruction.

Attributes

Definition Classes
Inherited from:
FactoryAdapter

Attributes

Inherited from:
XMLLoader

Attributes

Inherited from:
DefaultHandler2

Attributes

Inherited from:
DefaultHandler2
override def setDocumentLocator(locator: Locator): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def skippedEntity(name: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def startCDATA(): Unit

Start of a CDATA section.

Start of a CDATA section.

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def startDTD(name: String, publicId: String, systemId: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def startDocument(): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def startElement(uri: String, _localName: String, qname: String, attributes: Attributes): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def startEntity(name: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def startPrefixMapping(prefix: String, uri: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter
override def unparsedEntityDecl(name: String, publicId: String, systemId: String, notationName: String): Unit

Attributes

Definition Classes
Inherited from:
FactoryAdapter

Attributes

Inherited from:
DefaultHandler

Inherited fields

List of attributes

List of attributes

Previously was a mutable Stack, but is now a mutable reference to an immutable List.

Attributes

Since

2.0.0

Inherited from:
FactoryAdapter

Attributes

Inherited from:
FactoryAdapter

Attributes

Inherited from:
NodeFactory

Attributes

Inherited from:
FactoryAdapter
var curTag: String

Attributes

Inherited from:
FactoryAdapter

Attributes

Inherited from:
FactoryAdapter
var hStack: List[Node]

List of elements

List of elements

Previously was a mutable Stack, but is now a mutable reference to an immutable List.

Attributes

Since

2.0.0

Inherited from:
FactoryAdapter

Attributes

Inherited from:
NodeFactory

Attributes

Inherited from:
NodeFactory

Attributes

Inherited from:
FactoryAdapter
var prolog: List[Node]

Attributes

Inherited from:
FactoryAdapter
var rootElem: Node

Attributes

Inherited from:
FactoryAdapter

List of namespaces

List of namespaces

Previously was a mutable Stack, but is now a mutable reference to an immutable List.

Attributes

Since

2.0.0

Inherited from:
FactoryAdapter

List of element names

List of element names

Previously was a mutable Stack, but is now a mutable reference to an immutable List.

Attributes

Since

2.0.0

Inherited from:
FactoryAdapter