Packages

c

scala.xml.parsing

MarkupHandler

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

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

Instance Constructors

  1. new MarkupHandler()

Abstract Value Members

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

    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

    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

    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

    callback method invoked by MarkupParser after parsing PI.

  5. abstract def reportSyntaxError(pos: Int, str: String): Unit
  6. abstract def text(pos: Int, txt: String): NodeSeq

    callback method invoked by MarkupParser after parsing text.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def attListDecl(name: String, attList: List[AttrDecl]): Unit
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. var decls: List[Decl]
  8. def elemDecl(n: String, cmstr: String): Unit
  9. 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

  10. 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)

  11. def endDTD(n: String): Unit
  12. var ent: Map[String, EntityDecl]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val isValidating: Boolean

    returns true is this markup handler is validating

  19. def lookupElemDecl(Label: String): ElemDecl
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def notationDecl(notat: String, extID: ExternalID): Unit
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def parameterEntityDecl(name: String, edef: EntityDef): Unit
  25. def parsedEntityDecl(name: String, edef: EntityDef): Unit
  26. def peReference(name: String): Unit
  27. def replacementText(entityName: String): Source
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def unparsedEntityDecl(name: String, extID: ExternalID, notat: String): Unit
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. 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.

Inherited from AnyRef

Inherited from Any

Ungrouped