in scala/xml/parsing
class NoBindingFactoryAdapter

class NoBindingFactoryAdapter()
extends FactoryAdapter
with ScalaObject
with NodeFactory[Elem]

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

Method Summary
protected def create(pre: String, label: String, attrs: MetaData, scpe: NamespaceBinding, children: Seq[Node]): Elem
     constructs an instance of scala.xml.Elem
  def createNode(pre: String, label: String, attrs: MetaData, scpe: NamespaceBinding, children: List[Node]): Elem
     creates a node.
  def createText(text: String): Text
     creates a text node
override def loadXML(source: org.xml.sax.InputSource): Elem
     loads an XML document, returning a Symbol node.
  def nodeContainsText(label: String): Boolean
     returns true.

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from org/xml/sax/helpers/DefaultHandler-class
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/ScalaObject-class
getScalaType

Methods inherited from scala/xml/factory/NodeFactory-class
cache, construct, eqElements, ignoreComments, ignoreProcInstr, makeComment, makeNode, makeProcInstr, makeText, nodeEquals

Methods inherited from scala/xml/parsing/FactoryAdapter-class
attribStack, buffer, capture, captureText, characters, curTag, endElement, error, fatalError, hStack, load, load, load, loadFile, loadFile, loadFile, normalizeWhitespace, printError, rootElem, scopeStack, startElement, tagStack, warning

Method Detail

nodeContainsText

  def nodeContainsText(label: String): Boolean
returns true. Every XML node may contain text that the application needs

create

  protected def create(pre: String, label: String, attrs: MetaData, scpe: NamespaceBinding, children: Seq[Node]): Elem
constructs an instance of scala.xml.Elem

createNode

  def createNode(pre: String, label: String, attrs: MetaData, scpe: NamespaceBinding, children: List[Node]): Elem
creates a node. never creates the same node twice, using hash-consing

createText

  def createText(text: String): Text
creates a text node

loadXML

  override def loadXML(source: org.xml.sax.InputSource): Elem
loads an XML document, returning a Symbol node.