in scala/xml/parsing
class ValidatingMarkupHandler
-
abstract class ValidatingMarkupHandler()
- extends MarkupHandler
- with ScalaObject
- with Logged
-
Implementing classes or objects:
-
class Binder(preserveWS: Boolean) in scala/xml/factory
Field Summary
|
final override
|
val isValidating: Boolean
returns true is this markup handler is validing
|
Method Summary
|
final override
|
def attListDecl(name: String, attList: List[AttrDecl]): Unit
|
|
var declCurrent: ElemDecl
|
|
var declStack: List[ElemDecl]
|
final override
|
def elemDecl(name: String, cmstr: String): Unit
|
override
|
def elemEnd(pos: Int, pre: String, label: String): Unit
callback method invoked by MarkupParser after end-tag of element.
|
override
|
def elemStart(pos: Int, pre: String, label: String, attrs: MetaData, scope: NamespaceBinding): Unit
callback method invoked by MarkupParser after start-tag of element.
|
override
|
def endDTD(n: String): Unit
|
override
|
def log(msg: String): Unit
this method should log the message given as argument somewhere
as a side-effect
|
final override
|
def notationDecl(notat: String, extID: ExternalID): Unit
|
final override
|
def peReference(name: String): Unit
|
|
var qCurrent: Int
|
|
var qStack: List[Int]
|
abstract
|
def reportValidationError(pos: Int, str: String): Unit
report a syntax error
|
|
var rootLabel: String
|
final override
|
def unparsedEntityDecl(name: String, extID: ExternalID, notat: String): Unit
|
Methods inherited from java/lang/Object-class
|
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait |
Methods inherited from scala/xml/parsing/MarkupHandler-class
|
comment, decls, elem, ent, entityRef, lookupElemDecl, parameterEntityDecl, parsedEntityDecl, procInstr, replacementText, reportSyntaxError, text |
isValidating
final override val isValidating: Boolean
-
returns true is this markup handler is validing
rootLabel
var rootLabel: String
qStack
var qStack: List[Int]
qCurrent
var qCurrent: Int
declStack
var declStack: List[ElemDecl]
declCurrent
var declCurrent: ElemDecl
log
override def log(msg: String): Unit
-
this method should log the message given as argument somewhere
as a side-effect
endDTD
override def endDTD(n: String): Unit
elemStart
override def elemStart(pos: Int, pre: String, label: String, attrs: MetaData, scope: NamespaceBinding): Unit
-
callback method invoked by MarkupParser after start-tag of element.
- Parameters:
pos
-
the position in the sourcefile
pre
-
the prefix
label
-
the local name
attrs
-
the attributes (metadata)
elemEnd
override def elemEnd(pos: Int, pre: String, label: String): Unit
-
callback method invoked by MarkupParser after end-tag of element.
- Parameters:
pos
-
the position in the sourcefile
pre
-
the prefix
label
-
the local name
attrs
-
the attributes (metadata)
elemDecl
final override def elemDecl(name: String, cmstr: String): Unit
attListDecl
final override def attListDecl(name: String, attList: List[AttrDecl]): Unit
unparsedEntityDecl
final override def unparsedEntityDecl(name: String, extID: ExternalID, notat: String): Unit
notationDecl
final override def notationDecl(notat: String, extID: ExternalID): Unit
peReference
final override def peReference(name: String): Unit
reportValidationError
abstract def reportValidationError(pos: Int, str: String): Unit
-
report a syntax error