NoBindingFactoryAdapter

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

class DefaultHandler2
trait EntityResolver2
trait DeclHandler
trait LexicalHandler
class DefaultHandler
trait ErrorHandler
trait ContentHandler
trait DTDHandler
trait EntityResolver
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Creates a comment.

Creates a comment.

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??

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

Creates a cdata.

Creates a cdata.

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

Creates a processing instruction.

Creates a processing instruction.

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

Creates a text node.

Creates a text node.

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

Definition Classes

Inherited methods

Inherited from
XMLLoader
@throws(org.xml.sax.SAXException)
def attributeDecl(x$0: String, x$1: String, x$2: String, x$3: String, x$4: String): Unit
Inherited from
DefaultHandler2
def captureText(): Unit

Captures text or cdata.

Captures text or cdata.

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

Capture characters, possibly normalizing whitespace.

Capture characters, possibly normalizing whitespace.

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

Comment.

Comment.

Definition Classes
FactoryAdapter -> DefaultHandler2 -> LexicalHandler
Inherited from
FactoryAdapter
protected def construct(hash: Int, old: List[Elem], pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Elem
Inherited from
NodeFactory
@throws(org.xml.sax.SAXException)
def elementDecl(x$0: String, x$1: String): Unit
Inherited from
DefaultHandler2
override def endCDATA(): Unit

End of a CDATA section.

End of a CDATA section.

Definition Classes
FactoryAdapter -> DefaultHandler2 -> LexicalHandler
Inherited from
FactoryAdapter
@throws(org.xml.sax.SAXException)
def endDTD(): Unit
Inherited from
DefaultHandler2
override def endDocument(): Unit
Definition Classes
FactoryAdapter -> DefaultHandler -> ContentHandler
Inherited from
FactoryAdapter
override def endElement(uri: String, _localName: String, qname: String): Unit

End element.

End element.

Throws
org.xml.sax.SAXException

if ..

Definition Classes
FactoryAdapter -> DefaultHandler -> ContentHandler
Inherited from
FactoryAdapter
@throws(org.xml.sax.SAXException)
def endEntity(x$0: String): Unit
Inherited from
DefaultHandler2
@throws(org.xml.sax.SAXException)
def endPrefixMapping(x$0: String): Unit
Inherited from
DefaultHandler
def eqElements(ch1: Seq[Node], ch2: Seq[Node]): Boolean
Inherited from
NodeFactory
@throws(org.xml.sax.SAXException)
def error(x$0: SAXParseException): Unit
Inherited from
DefaultHandler
@throws(org.xml.sax.SAXException)
def externalEntityDecl(x$0: String, x$1: String, x$2: String): Unit
Inherited from
DefaultHandler2
@throws(org.xml.sax.SAXException)
def fatalError(x$0: SAXParseException): Unit
Inherited from
DefaultHandler
@throws(java.io.IOException) @throws(org.xml.sax.SAXException)
def getExternalSubset(x$0: String, x$1: String): InputSource
Inherited from
DefaultHandler2
@throws(org.xml.sax.SAXException)
def ignorableWhitespace(x$0: Array[Char], x$1: Int, x$2: Int): Unit
Inherited from
DefaultHandler
@throws(org.xml.sax.SAXException)
def internalEntityDecl(x$0: String, x$1: String): Unit
Inherited from
DefaultHandler2
def load(url: URL): Node
Inherited from
XMLLoader
def load(source: InputSource): Node
Inherited from
XMLLoader
def load(sysID: String): Node
Inherited from
XMLLoader
def load(reader: Reader): Node
Inherited from
XMLLoader
def load(is: InputStream): Node

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

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

Inherited from
XMLLoader
def loadFile(name: String): Node
Inherited from
XMLLoader
def loadFile(fd: FileDescriptor): Node
Inherited from
XMLLoader
def loadFile(file: File): Node

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

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

Inherited from
XMLLoader
def loadFileNodes(name: String): Seq[Node]
Inherited from
XMLLoader
def loadFileNodes(fd: FileDescriptor): Seq[Node]
Inherited from
XMLLoader
def loadFileNodes(file: File): 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.

Inherited from
XMLLoader
def loadNodes(url: URL): Seq[Node]
Inherited from
XMLLoader
def loadNodes(source: InputSource): Seq[Node]
Inherited from
XMLLoader
def loadNodes(sysID: String): Seq[Node]
Inherited from
XMLLoader
def loadNodes(reader: Reader): Seq[Node]
Inherited from
XMLLoader
def loadNodes(is: InputStream): Seq[Node]
Inherited from
XMLLoader
def loadString(string: String): Node

Loads XML from the given String.

Loads XML from the given String.

Inherited from
XMLLoader
def loadStringNodes(string: String): Seq[Node]
Inherited from
XMLLoader
def loadXML(source: InputSource, parser: SAXParser): Node

Loads XML from the given InputSource, using the supplied parser. The methods available in scala.xml.XML use the XML parser in the JDK.

Loads XML from the given InputSource, using the supplied parser. The methods available in scala.xml.XML use the XML parser in the JDK.

Inherited from
XMLLoader
def loadXMLNodes(source: InputSource, parser: SAXParser): Seq[Node]
Inherited from
XMLLoader
def makeComment(s: String): Seq[Comment]
Inherited from
NodeFactory
def makeNode(pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Elem
Inherited from
NodeFactory
def makePCData(s: String): PCData
Inherited from
NodeFactory
def makeProcInstr(t: String, s: String): Seq[ProcInstr]
Inherited from
NodeFactory
def makeText(s: String): Text
Inherited from
NodeFactory
def nodeEquals(n: Node, pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Boolean
Inherited from
NodeFactory
@throws(org.xml.sax.SAXException)
def notationDecl(x$0: String, x$1: String, x$2: String): Unit
Inherited from
DefaultHandler
Inherited from
XMLLoader
override def processingInstruction(target: String, data: String): Unit

Processing instruction.

Processing instruction.

Definition Classes
FactoryAdapter -> DefaultHandler -> ContentHandler
Inherited from
FactoryAdapter
@throws(java.io.IOException) @throws(org.xml.sax.SAXException)
def resolveEntity(x$0: String, x$1: String): InputSource
Inherited from
DefaultHandler2
@throws(java.io.IOException) @throws(org.xml.sax.SAXException)
def resolveEntity(x$0: String, x$1: String, x$2: String, x$3: String): InputSource
Inherited from
DefaultHandler2
def setDocumentLocator(x$0: Locator): Unit
Inherited from
DefaultHandler
@throws(org.xml.sax.SAXException)
def skippedEntity(x$0: String): Unit
Inherited from
DefaultHandler
override def startCDATA(): Unit

Start of a CDATA section.

Start of a CDATA section.

Definition Classes
FactoryAdapter -> DefaultHandler2 -> LexicalHandler
Inherited from
FactoryAdapter
@throws(org.xml.sax.SAXException)
def startDTD(x$0: String, x$1: String, x$2: String): Unit
Inherited from
DefaultHandler2
@throws(org.xml.sax.SAXException)
def startDocument(): Unit
Inherited from
DefaultHandler
override def startElement(uri: String, _localName: String, qname: String, attributes: Attributes): Unit
Definition Classes
FactoryAdapter -> DefaultHandler -> ContentHandler
Inherited from
FactoryAdapter
@throws(org.xml.sax.SAXException)
def startEntity(x$0: String): Unit
Inherited from
DefaultHandler2
override def startPrefixMapping(prefix: String, uri: String): Unit
Definition Classes
FactoryAdapter -> DefaultHandler -> ContentHandler
Inherited from
FactoryAdapter
@throws(org.xml.sax.SAXException)
def unparsedEntityDecl(x$0: String, x$1: String, x$2: String, x$3: String): Unit
Inherited from
DefaultHandler
@throws(org.xml.sax.SAXException)
def warning(x$0: SAXParseException): Unit
Inherited from
DefaultHandler

Inherited fields

var attribStack: List[MetaData]

List of attributes

List of attributes

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

Since

2.0.0

Inherited from
FactoryAdapter
val buffer: StringBuilder
Inherited from
FactoryAdapter
val cache: HashMap[Int, List[Elem]]
Inherited from
NodeFactory
var capture: Boolean
Inherited from
FactoryAdapter
var curTag: String
Inherited from
FactoryAdapter
var epilogue: List[Node]
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.

Since

2.0.0

Inherited from
FactoryAdapter
val ignoreComments: Boolean
Inherited from
NodeFactory
val ignoreProcInstr: Boolean
Inherited from
NodeFactory
val normalizeWhitespace: Boolean
Inherited from
FactoryAdapter
var prolog: List[Node]
Inherited from
FactoryAdapter
Inherited from
FactoryAdapter

List of namespaces

List of namespaces

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

Since

2.0.0

Inherited from
FactoryAdapter
var tagStack: List[String]

List of element names

List of element names

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

Since

2.0.0

Inherited from
FactoryAdapter