Scala 2.7.1.final API

This document is the API specification for Scala Library

Class Summary
case class AttListDecl (val name : java.lang.String, val attrs : List[AttrDecl]) extends MarkupDecl with DtdTypeSymbol with Product
case class AttrDecl (val name : java.lang.String, val tpe : java.lang.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 : java.lang.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 : java.lang.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 : java.lang.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 : java.lang.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 : java.lang.String, val extID : ExternalID) extends MarkupDecl with Product
a notation declaration
case class PEReference (val ent : java.lang.String) extends MarkupDecl with Product
a parsed entity reference
case class ParameterEntityDecl (val name : java.lang.String, val entdef : EntityDef) extends EntityDecl with Product
a parameter entity declaration
case class ParsedEntityDecl (val name : java.lang.String, val entdef : EntityDef) extends EntityDecl with Product
a parsed general entity declaration
case class PublicID (val publicId : java.lang.String, val systemId : java.lang.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 : java.lang.String) extends ExternalID with TokenTests with Product
a system identifier
class Tokens extends AnyRef
case class UnparsedEntityDecl (val name : java.lang.String, val extID : ExternalID, val notation : java.lang.String) extends EntityDecl with Product
an unparsed entity declaration
case class ValidationException (val e : java.lang.String) extends java.lang.Exception with Product
Object Summary
case object ANY extends ContentModel with Product
object AttListDecl extends (java.lang.String, List[AttrDecl]) => AttListDecl
object AttrDecl extends (java.lang.String, java.lang.String, DefaultDecl) => AttrDecl
object ContentModel extends WordExp
object ContentModelParser extends Scanner
Parser for regexps (content models in DTD element declarations)
object DEFAULT extends (Boolean, java.lang.String) => DEFAULT
object DocType extends (java.lang.String, ExternalID, Seq[Decl]) => DocType
object ELEMENTS extends (RegExp) => ELEMENTS
case object EMPTY extends ContentModel with Product
object ElemDecl extends (java.lang.String, ContentModel) => ElemDecl
object ExtDef extends (ExternalID) => ExtDef
case object IMPLIED extends DefaultDecl with Product
object IntDef extends (java.lang.String) => IntDef
object MIXED extends (RegExp) => MIXED
object MakeValidationException extends AnyRef
object NotationDecl extends (java.lang.String, ExternalID) => NotationDecl
case object PCDATA extends ContentModel with Product
object PEReference extends (java.lang.String) => PEReference
object ParameterEntityDecl extends (java.lang.String, EntityDef) => ParameterEntityDecl
object ParsedEntityDecl extends (java.lang.String, EntityDef) => ParsedEntityDecl
object PublicID extends (java.lang.String, java.lang.String) => PublicID
case object REQUIRED extends DefaultDecl with Product
object SystemID extends (java.lang.String) => SystemID
object UnparsedEntityDecl extends (java.lang.String, ExternalID, java.lang.String) => UnparsedEntityDecl
object ValidationException extends (java.lang.String) => ValidationException