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
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/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 |
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.