scala.xml.parsing

MarkupHandler

abstract class MarkupHandler extends Logged

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

Source
MarkupHandler.scala
Version

1.0

To do

expanding entity references

,

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

Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MarkupHandler
  2. Logged
  3. AnyRef
  4. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from MarkupHandler to StringAdd[MarkupHandler] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (MarkupHandler, B)

    Implicit information
    This member is added by an implicit conversion from MarkupHandler to ArrowAssoc[MarkupHandler] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

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

  10. def clone(): AnyRef

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

  12. def elemDecl(n: String, cmstr: String): Unit

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

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

  15. def endDTD(n: String): Unit

  16. def ensuring(cond: (MarkupHandler) ⇒ Boolean, msg: ⇒ Any): MarkupHandler

    Implicit information
    This member is added by an implicit conversion from MarkupHandler to Ensuring[MarkupHandler] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (MarkupHandler) ⇒ Boolean): MarkupHandler

    Implicit information
    This member is added by an implicit conversion from MarkupHandler to Ensuring[MarkupHandler] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): MarkupHandler

    Implicit information
    This member is added by an implicit conversion from MarkupHandler to Ensuring[MarkupHandler] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): MarkupHandler

    Implicit information
    This member is added by an implicit conversion from MarkupHandler to Ensuring[MarkupHandler] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. var ent: Map[String, EntityDecl]

  21. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from MarkupHandler to StringFormat[MarkupHandler] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  25. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  28. val isValidating: Boolean

    returns true is this markup handler is validating

  29. def log(msg: String): Unit

    This method should log the message given as argument somewhere as a side-effect.

    This method should log the message given as argument somewhere as a side-effect.

    msg

    message to be logged

    Definition Classes
    Logged
  30. def lookupElemDecl(Label: String): ElemDecl

  31. final def ne(arg0: AnyRef): Boolean

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

  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

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

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

  37. def peReference(name: String): Unit

  38. def replacementText(entityName: String): io.Source

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

    Definition Classes
    AnyRef
  40. def toString(): String

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

  42. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. def [B](y: B): (MarkupHandler, B)

    Implicit information
    This member is added by an implicit conversion from MarkupHandler to ArrowAssoc[MarkupHandler] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Logged

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from MarkupHandler to StringAdd[MarkupHandler]

Inherited by implicit conversion StringFormat from MarkupHandler to StringFormat[MarkupHandler]

Inherited by implicit conversion Ensuring from MarkupHandler to Ensuring[MarkupHandler]

Inherited by implicit conversion ArrowAssoc from MarkupHandler to ArrowAssoc[MarkupHandler]

Ungrouped