Packages

c

scala.xml.parsing

DefaultMarkupHandler

abstract class DefaultMarkupHandler extends MarkupHandler

Default implementation of markup handler always returns NodeSeq.Empty

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultMarkupHandler
  2. MarkupHandler
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultMarkupHandler()

Abstract Value Members

  1. abstract def reportSyntaxError(pos: Int, str: String): Unit
    Definition Classes
    MarkupHandler

Concrete Value Members

  1. def attListDecl(name: String, attList: List[AttrDecl]): Unit
    Definition Classes
    MarkupHandler
  2. def comment(pos: Int, comment: String): NodeSeq

    callback method invoked by MarkupParser after parsing comment.

    callback method invoked by MarkupParser after parsing comment.

    Definition Classes
    DefaultMarkupHandlerMarkupHandler
  3. var decls: List[Decl]
    Definition Classes
    MarkupHandler
  4. 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

    Definition Classes
    DefaultMarkupHandlerMarkupHandler
  5. def elemDecl(n: String, cmstr: String): Unit
    Definition Classes
    MarkupHandler
  6. 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

    Definition Classes
    MarkupHandler
  7. 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)

    Definition Classes
    MarkupHandler
  8. def endDTD(n: String): Unit
    Definition Classes
    MarkupHandler
  9. var ent: Map[String, EntityDecl]
    Definition Classes
    MarkupHandler
  10. 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.

    Definition Classes
    DefaultMarkupHandlerMarkupHandler
    To do

    expanding entity references

  11. val isValidating: Boolean

    returns true is this markup handler is validating

    returns true is this markup handler is validating

    Definition Classes
    MarkupHandler
  12. def lookupElemDecl(Label: String): ElemDecl
    Definition Classes
    MarkupHandler
  13. def notationDecl(notat: String, extID: ExternalID): Unit
    Definition Classes
    MarkupHandler
  14. def parameterEntityDecl(name: String, edef: EntityDef): Unit
    Definition Classes
    MarkupHandler
  15. def parsedEntityDecl(name: String, edef: EntityDef): Unit
    Definition Classes
    MarkupHandler
  16. def peReference(name: String): Unit
    Definition Classes
    MarkupHandler
  17. def procInstr(pos: Int, target: String, txt: String): NodeSeq

    callback method invoked by MarkupParser after parsing PI.

    callback method invoked by MarkupParser after parsing PI.

    Definition Classes
    DefaultMarkupHandlerMarkupHandler
  18. def replacementText(entityName: String): Source
    Definition Classes
    MarkupHandler
  19. def text(pos: Int, txt: String): NodeSeq

    callback method invoked by MarkupParser after parsing text.

    callback method invoked by MarkupParser after parsing text.

    Definition Classes
    DefaultMarkupHandlerMarkupHandler
  20. def unparsedEntityDecl(name: String, extID: ExternalID, notat: String): Unit
    Definition Classes
    MarkupHandler

Deprecated Value Members

  1. def log(msg: String): Unit
    Definition Classes
    MarkupHandler
    Annotations
    @deprecated
    Deprecated

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