scala.xml.parsing

ValidatingMarkupHandler

class ValidatingMarkupHandler extends MarkupHandler with Logged

attributes: abstract
known subclasses: Binder

Inherits

  1. MarkupHandler
  2. Logged
  3. AnyRef
  4. Any

Value Members

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

    callback method invoked by MarkupParser after parsing comment

  2. var declCurrent: ElemDecl

  3. var declStack: List[ElemDecl]

  4. var decls: List[Decl]

  5. def elem(pos: Int, pre: String, label: String, attrs: MetaData, scope: NamespaceBinding, args: NodeSeq): NodeSeq

    callback method invoked by MarkupParser after parsing an elementm, between the elemStart and elemEnd callbacks

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

    callback method invoked by MarkupParser after end-tag of element

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

    callback method invoked by MarkupParser after start-tag of element

  8. def endDTD(n: String): Unit

  9. var ent: Map[String, EntityDecl]

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

    callback method invoked by MarkupParser after parsing entity ref

  11. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  12. def hashCode(): Int

    Returns a hash code value for the object

  13. val isValidating: Boolean

    returns true is this markup handler is validating

  14. def log(msg: String): Unit

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

  15. def lookupElemDecl(Label: String): ElemDecl

  16. def parameterEntityDecl(name: String, edef: EntityDef): Unit

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

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

    callback method invoked by MarkupParser after parsing PI

  19. var qCurrent: Int

  20. var qStack: List[Int]

  21. def replacementText(entityName: String): Source

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

  23. def reportValidationError(pos: Int, str: String): Unit

    report a syntax error

  24. var rootLabel: String

  25. def text(pos: Int, txt: String): NodeSeq

    callback method invoked by MarkupParser after parsing text

  26. def toString(): String

    Returns a string representation of the object

Instance constructors

  1. new ValidatingMarkupHandler()