abstract class MarkupHandler extends AnyRef
class that handles markup - provides callback methods to MarkupParser. the default is nonvalidating behaviour
- Version
1.0
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attListDecl(name: String, attList: List[AttrDecl]): Unit
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- 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]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
isValidating: Boolean
returns true is this markup handler is validating
- def lookupElemDecl(Label: String): ElemDecl
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def notationDecl(notat: String, extID: ExternalID): Unit
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parameterEntityDecl(name: String, edef: EntityDef): Unit
- def parsedEntityDecl(name: String, edef: EntityDef): Unit
- def peReference(name: String): Unit
- def replacementText(entityName: String): Source
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unparsedEntityDecl(name: String, extID: ExternalID, notat: String): Unit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
Deprecated Value Members
-
def
log(msg: String): Unit
- Annotations
- @deprecated
- Deprecated
(Since version 2.11) This method and its usages will be removed. Use a debugger to debug code.