in scala/xml/parsing
class ConstructingHandler
-
class ConstructingHandler()
- extends MarkupHandler[Node]
- with ScalaObject
-
Implementing classes or objects:
-
class XSDHandler()
-
Method Summary
|
|
def charData(pos: Int, txt: String): CharData
|
|
def comment(pos: Int, txt: String): Comment
|
|
def element(pos: Int, uri: String, label: String, attrMap1: Map[Tuple2[String,String],Attribute], args: Buffer[Node]): Iterable[Node]
be careful to copy everything from attrMap1, as it will change
|
|
def entityRef(pos: Int, n: String): EntityRef
|
|
def procInstr(pos: Int, target: String, txt: String): ProcInstr
|
|
def text(pos: Int, txt: String): Text
|
Methods inherited from java/lang/Object-class
|
clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, toString, wait, wait, wait |
element
def element(pos: Int, uri: String, label: String, attrMap1: Map[Tuple2[String,String],Attribute], args: Buffer[Node]): Iterable[Node]
-
be careful to copy everything from attrMap1, as it will change
- Parameters:
pos
-
the position in the sourcefile
uri
-
the namespace uri
label
-
the tag name
attrMap1
-
the attribute map, from Pair(uri,label) to target
args
-
the children of this element
charData
def charData(pos: Int, txt: String): CharData
procInstr
def procInstr(pos: Int, target: String, txt: String): ProcInstr
comment
def comment(pos: Int, txt: String): Comment
entityRef
def entityRef(pos: Int, n: String): EntityRef
text
def text(pos: Int, txt: String): Text