scala.xml.parsing

class NoBindingFactoryAdapter

[source: scala/xml/parsing/NoBindingFactoryAdapter.scala]

class NoBindingFactoryAdapter
extends FactoryAdapter with NodeFactory[Elem]
nobinding adaptor providing callbacks to parser to create elements. implements hash-consing
Values and Variables inherited from NodeFactory
ignoreComments, ignoreProcInstr, cache
Values and Variables inherited from FactoryAdapter
rootElem, buffer, attribStack, hStack, tagStack, scopeStack, curTag, capture, normalizeWhitespace
Method Summary
protected def create (pre : java.lang.String, label : java.lang.String, attrs : MetaData, scope : NamespaceBinding, children : Sequence[Node]) : Elem
From NodeFactory. Constructs an instance of scala.xml.Elem
def createNode (pre : java.lang.String, label : java.lang.String, attrs : MetaData, scope : NamespaceBinding, children : List[Node]) : Elem
From FactoryAdapter. Creates a node. never creates the same node twice, using hash-consing.
def createProcInstr (target : java.lang.String, data : java.lang.String) : Sequence[ProcInstr]
Creates a processing instruction.
def createText (text : java.lang.String) : Text
Creates a text node.
def nodeContainsText (label : java.lang.String) : Boolean
True. Every XML node may contain text that the application needs
Methods inherited from NodeFactory
construct, eqElements, nodeEquals, makeNode, makeText, makeComment, makeProcInstr
Methods inherited from FactoryAdapter
characters, startElement, captureText, endElement, processingInstruction
Methods inherited from XMLLoader
adapter, parser, loadXML, loadFile, loadFile, loadFile, load, load, load, load, loadString
Methods inherited from org.xml.sax.helpers.DefaultHandler
org.xml.sax.helpers.DefaultHandler.resolveEntity, org.xml.sax.helpers.DefaultHandler.notationDecl, org.xml.sax.helpers.DefaultHandler.unparsedEntityDecl, org.xml.sax.helpers.DefaultHandler.setDocumentLocator, org.xml.sax.helpers.DefaultHandler.startDocument, org.xml.sax.helpers.DefaultHandler.endDocument, org.xml.sax.helpers.DefaultHandler.startPrefixMapping, org.xml.sax.helpers.DefaultHandler.endPrefixMapping, org.xml.sax.helpers.DefaultHandler.ignorableWhitespace, org.xml.sax.helpers.DefaultHandler.skippedEntity, org.xml.sax.helpers.DefaultHandler.warning, org.xml.sax.helpers.DefaultHandler.error, org.xml.sax.helpers.DefaultHandler.fatalError
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def nodeContainsText(label : java.lang.String) : Boolean
True. Every XML node may contain text that the application needs
Overrides
FactoryAdapter.nodeContainsText

protected def create(pre : java.lang.String, label : java.lang.String, attrs : MetaData, scope : NamespaceBinding, children : Sequence[Node]) : Elem
From NodeFactory. Constructs an instance of scala.xml.Elem
Overrides
NodeFactory.create

def createNode(pre : java.lang.String, label : java.lang.String, attrs : MetaData, scope : NamespaceBinding, children : List[Node]) : Elem
From FactoryAdapter. Creates a node. never creates the same node twice, using hash-consing.
Overrides
FactoryAdapter.createNode

def createText(text : java.lang.String) : Text
Creates a text node.
Overrides
FactoryAdapter.createText

def createProcInstr(target : java.lang.String, data : java.lang.String) : Sequence[ProcInstr]
Creates a processing instruction.
Overrides
FactoryAdapter.createProcInstr