Class

scala.xml.parsing

MarkupHandler

Related Doc: package parsing

Permalink

abstract class MarkupHandler extends AnyRef

class that handles markup - provides callback methods to MarkupParser. the default is nonvalidating behaviour

Version

1.0

To do

expanding entity references

,

can we ignore more entity declarations (i.e. those with extIDs)?

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MarkupHandler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MarkupHandler()

    Permalink

Abstract Value Members

  1. abstract def comment(pos: Int, comment: String): NodeSeq

    Permalink

    callback method invoked by MarkupParser after parsing comment.

  2. abstract def elem(pos: Int, pre: String, label: String, attrs: MetaData, scope: NamespaceBinding, empty: Boolean, args: NodeSeq): NodeSeq

    Permalink

    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

  3. abstract def entityRef(pos: Int, n: String): NodeSeq

    Permalink

    callback method invoked by MarkupParser after parsing entity ref.

    callback method invoked by MarkupParser after parsing entity ref.

    To do

    expanding entity references

  4. abstract def procInstr(pos: Int, target: String, txt: String): NodeSeq

    Permalink

    callback method invoked by MarkupParser after parsing PI.

  5. abstract def reportSyntaxError(pos: Int, str: String): Unit

    Permalink
  6. abstract def text(pos: Int, txt: String): NodeSeq

    Permalink

    callback method invoked by MarkupParser after parsing text.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def attListDecl(name: String, attList: List[AttrDecl]): Unit

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. var decls: List[Decl]

    Permalink
  8. def elemDecl(n: String, cmstr: String): Unit

    Permalink
  9. def elemEnd(pos: Int, pre: String, label: String): Unit

    Permalink

    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

  10. def elemStart(pos: Int, pre: String, label: String, attrs: MetaData, scope: NamespaceBinding): Unit

    Permalink

    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)

  11. def endDTD(n: String): Unit

    Permalink
  12. var ent: Map[String, EntityDecl]

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val isValidating: Boolean

    Permalink

    returns true is this markup handler is validating

  20. def lookupElemDecl(Label: String): ElemDecl

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def notationDecl(notat: String, extID: ExternalID): Unit

    Permalink
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def parameterEntityDecl(name: String, edef: EntityDef): Unit

    Permalink
  26. def parsedEntityDecl(name: String, edef: EntityDef): Unit

    Permalink
  27. def peReference(name: String): Unit

    Permalink
  28. def replacementText(entityName: String): Source

    Permalink
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def unparsedEntityDecl(name: String, extID: ExternalID, notat: String): Unit

    Permalink
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def log(msg: String): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11) This method and its usages will be removed. Use a debugger to debug code.

Inherited from AnyRef

Inherited from Any

Ungrouped