c

scala.xml.parsing

ConstructingHandler

abstract class ConstructingHandler extends MarkupHandler

Implementation of MarkupHandler that constructs nodes.

Version

1.0

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

Instance Constructors

  1. new ConstructingHandler()

Abstract Value Members

  1. abstract val preserveWS: Boolean
  2. 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, txt: String): Comment

    callback method invoked by MarkupParser after parsing comment.

    callback method invoked by MarkupParser after parsing comment.

    Definition Classes
    ConstructingHandlerMarkupHandler
  3. var decls: List[Decl]
    Definition Classes
    MarkupHandler
  4. def elem(pos: Int, pre: String, label: String, attrs: MetaData, pscope: NamespaceBinding, empty: Boolean, nodes: 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.

    Definition Classes
    ConstructingHandlerMarkupHandler
  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): EntityRef

    callback method invoked by MarkupParser after parsing entity ref.

    callback method invoked by MarkupParser after parsing entity ref.

    Definition Classes
    ConstructingHandlerMarkupHandler
    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): ProcInstr

    callback method invoked by MarkupParser after parsing PI.

    callback method invoked by MarkupParser after parsing PI.

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

    callback method invoked by MarkupParser after parsing text.

    callback method invoked by MarkupParser after parsing text.

    Definition Classes
    ConstructingHandlerMarkupHandler
  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.