Scala 2.5.1-final

API Specification

This document is the API specification for Scala Library Documentation

Class Summary
case class AttListDecl (val name : String, val attrs : List[AttrDecl]) extends MarkupDecl with DtdTypeSymbol with Product
case class AttrDecl (val name : String, val tpe : String, val default : DefaultDecl) extends Product
an attribute declaration. at this point, the tpe is a string. Future versions might provide a way to access the attribute types more directly.
sealed abstract class ContentModel extends AnyRef
case class DEFAULT (val fixed : Boolean, val attValue : String) extends DefaultDecl with Product
sealed abstract class DFAContentModel extends ContentModel
abstract class DTD extends AnyRef
A document type declaration.
abstract class Decl extends AnyRef
abstract class DefaultDecl extends AnyRef
case class DocType (val name : String, val extID : ExternalID, val intSubset : Seq[Decl]) extends Product
An XML node for document type declaration.
trait DtdTypeSymbol extends AnyRef
case class ELEMENTS (val r : RegExp) extends DFAContentModel with Product
case class ElemDecl (val name : String, val contentModel : ContentModel) extends MarkupDecl with DtdTypeSymbol with Product
an element declaration
class ElementValidator extends (Node) => Boolean
validate children and/or attributes of an element exceptions are created but not thrown.
abstract class EntityDecl extends MarkupDecl
an entity declaration
abstract class EntityDef extends AnyRef
case class ExtDef (val extID : ExternalID) extends EntityDef with Product
abstract class ExternalID extends AnyRef
an ExternalIDs - either PublicID or SystemID
case class IntDef (val value : String) extends EntityDef with Product
case class MIXED (val r : RegExp) extends DFAContentModel with Product
abstract class MarkupDecl extends Decl
case class NotationDecl (val name : String, val extID : ExternalID) extends MarkupDecl with Product
a notation declaration
case class PEReference (val ent : String) extends MarkupDecl with Product
a parsed entity reference
case class ParameterEntityDecl (val name : String, val entdef : EntityDef) extends EntityDecl with Product
a parameter entity declaration
case class ParsedEntityDecl (val name : String, val entdef : EntityDef) extends EntityDecl with Product
a parsed general entity declaration
case class PublicID (val publicId : String, val systemId : String) extends ExternalID with TokenTests with Product
a public identifier
class Scanner extends Tokens with TokenTests
Scanner for regexps (content models in DTD element declarations) todo: cleanup
case class SystemID (val systemId : String) extends ExternalID with TokenTests with Product
a system identifier
class Tokens extends AnyRef
case class UnparsedEntityDecl (val name : String, val extID : ExternalID, val notation : String) extends EntityDecl with Product
an unparsed entity declaration
case class ValidationException (val e : String) extends Exception with Product
Object Summary
case object ANY extends ContentModel with Product
object ContentModel extends WordExp
object ContentModelParser extends Scanner
Parser for regexps (content models in DTD element declarations)
case object EMPTY extends ContentModel with Product
case object IMPLIED extends DefaultDecl with Product
object MakeValidationException extends AnyRef
case object PCDATA extends ContentModel with Product
case object REQUIRED extends DefaultDecl with Product