Scala Library
|
|
scala/xml/parsing/MarkupHandler.scala
]
abstract
class
MarkupHandler
extends
LoggedValue Summary | |
var
|
decls : List[Decl] |
var
|
ent : Map[java.lang.String, EntityDecl] |
val
|
isValidating
: Boolean
returns true is this markup handler is validing
|
Method Summary | |
def
|
attListDecl (name : java.lang.String, attList : List[AttrDecl]) : Unit |
abstract def
|
comment
(pos : Int, comment : java.lang.String) : NodeSeq
callback method invoked by MarkupParser after parsing comment.
|
abstract def
|
elem
(pos : Int, pre : java.lang.String, label : java.lang.String, attrs : MetaData, scope : NamespaceBinding, args : NodeSeq) : NodeSeq
callback method invoked by MarkupParser after parsing an elementm,
between the elemStart and elemEnd callbacks
|
def
|
elemDecl (n : java.lang.String, cmstr : java.lang.String) : Unit |
def
|
elemEnd
(pos : Int, pre : java.lang.String, label : java.lang.String) : Unit
callback method invoked by MarkupParser after end-tag of element.
|
def
|
elemStart
(pos : Int, pre : java.lang.String, label : java.lang.String, attrs : MetaData, scope : NamespaceBinding) : Unit
callback method invoked by MarkupParser after start-tag of element.
|
def
|
endDTD (n : java.lang.String) : Unit |
abstract def
|
entityRef
(pos : Int, n : java.lang.String) : NodeSeq
callback method invoked by MarkupParser after parsing entity ref.
|
def
|
lookupElemDecl (Label : java.lang.String) : ElemDecl |
def
|
notationDecl (notat : java.lang.String, extID : ExternalID) : Unit |
def
|
parameterEntityDecl (name : java.lang.String, edef : EntityDef) : Unit |
def
|
parsedEntityDecl (name : java.lang.String, edef : EntityDef) : Unit |
def
|
peReference (name : java.lang.String) : Unit |
abstract def
|
procInstr
(pos : Int, target : java.lang.String, txt : java.lang.String) : NodeSeq
callback method invoked by MarkupParser after parsing PI.
|
def
|
replacementText (entityName : java.lang.String) : Source |
abstract def
|
reportSyntaxError
(pos : Int, str : java.lang.String) : Unit
report a syntax error
|
abstract def
|
text
(pos : Int, txt : java.lang.String) : NodeSeq
callback method invoked by MarkupParser after parsing text.
|
def
|
unparsedEntityDecl (name : java.lang.String, extID : ExternalID, notat : java.lang.String) : Unit |
Methods inherited from Logged | |
log |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
val
isValidating : Boolean
var
ent : Map[java.lang.String, EntityDecl]
Method Details |
def
lookupElemDecl(Label : java.lang.String) : ElemDecl
def
replacementText(entityName : java.lang.String) : Source
def
endDTD(n : java.lang.String) : Unit
def
elemStart(pos : Int, pre : java.lang.String, label : java.lang.String, attrs : MetaData, scope : NamespaceBinding) : Unit
pos -
the position in the sourcefilepre -
the prefixlabel -
the local nameattrs -
the attributes (metadata)
def
elemEnd(pos : Int, pre : java.lang.String, label : java.lang.String) : Unit
pos -
the position in the source filepre -
the prefixlabel -
the local nameattrs -
the attributes (metadata)abstract
def
elem(pos : Int, pre : java.lang.String, label : java.lang.String, attrs : MetaData, scope : NamespaceBinding, args : NodeSeq) : NodeSeq
pos -
the position in the source filepre -
the prefixlabel -
the local nameattrs -
the attributes (metadata)args -
the children of this elementabstract
def
procInstr(pos : Int, target : java.lang.String, txt : java.lang.String) : NodeSeq
pos -
the position in the source filetarget -
...txt -
...abstract
def
comment(pos : Int, comment : java.lang.String) : NodeSeq
pos -
the position in the source filecomment -
...abstract
def
entityRef(pos : Int, n : java.lang.String) : NodeSeq
abstract
def
text(pos : Int, txt : java.lang.String) : NodeSeq
def
elemDecl(n : java.lang.String, cmstr : java.lang.String) : Unit
def
attListDecl(name : java.lang.String, attList : List[AttrDecl]) : Unit
def
parameterEntityDecl(name : java.lang.String, edef : EntityDef) : Unit
def
parsedEntityDecl(name : java.lang.String, edef : EntityDef) : Unit
def
unparsedEntityDecl(name : java.lang.String, extID : ExternalID, notat : java.lang.String) : Unit
def
notationDecl(notat : java.lang.String, extID : ExternalID) : Unit
def
peReference(name : java.lang.String) : Unit
abstract
def
reportSyntaxError(pos : Int, str : java.lang.String) : Unit
Scala Library
|
|