abstract class MarkupHandler extends AnyRef
class that handles markup - provides callback methods to MarkupParser. the default is nonvalidating behaviour
- To do
can we ignore more entity declarations (i.e. those with extIDs)?
expanding entity references
- Alphabetic
- By Inheritance
- MarkupHandler
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MarkupHandler()
Abstract Value Members
-
abstract
def
comment(pos: Int, comment: String): NodeSeq
callback method invoked by MarkupParser after parsing comment.
-
abstract
def
elem(pos: Int, pre: String, label: String, attrs: MetaData, scope: NamespaceBinding, empty: Boolean, args: NodeSeq): NodeSeq
callback method invoked by MarkupParser after parsing an element, between the elemStart and elemEnd callbacks
callback method invoked by MarkupParser after parsing an element, between the elemStart and elemEnd callbacks
- pos
the position in the source file
- pre
the prefix
- label
the local name
- attrs
the attributes (metadata)
- empty
true
if the element was previously empty;false
otherwise.- args
the children of this element
-
abstract
def
entityRef(pos: Int, n: String): NodeSeq
callback method invoked by MarkupParser after parsing entity ref.
callback method invoked by MarkupParser after parsing entity ref.
- To do
expanding entity references
-
abstract
def
procInstr(pos: Int, target: String, txt: String): NodeSeq
callback method invoked by MarkupParser after parsing PI.
- abstract def reportSyntaxError(pos: Int, str: String): Unit
-
abstract
def
text(pos: Int, txt: String): NodeSeq
callback method invoked by MarkupParser after parsing text.
Concrete Value Members
- def attListDecl(name: String, attList: List[AttrDecl]): Unit
- var decls: List[Decl]
- def elemDecl(n: String, cmstr: String): Unit
-
def
elemEnd(pos: Int, pre: String, label: String): Unit
callback method invoked by MarkupParser after end-tag of element.
callback method invoked by MarkupParser after end-tag of element.
- pos
the position in the source file
- pre
the prefix
- label
the local name
-
def
elemStart(pos: Int, pre: String, label: String, attrs: MetaData, scope: NamespaceBinding): Unit
callback method invoked by MarkupParser after start-tag of element.
callback method invoked by MarkupParser after start-tag of element.
- pos
the position in the sourcefile
- pre
the prefix
- label
the local name
- attrs
the attributes (metadata)
- def endDTD(n: String): Unit
- var ent: Map[String, EntityDecl]
-
val
isValidating: Boolean
returns true is this markup handler is validating
- def lookupElemDecl(Label: String): ElemDecl
- def notationDecl(notat: String, extID: ExternalID): Unit
- def parameterEntityDecl(name: String, edef: EntityDef): Unit
- def parsedEntityDecl(name: String, edef: EntityDef): Unit
- def peReference(name: String): Unit
- def replacementText(entityName: String): Source
- def unparsedEntityDecl(name: String, extID: ExternalID, notat: String): Unit