package dtd
- Alphabetic
- Public
- All
Type Members
- case class AttListDecl(name: String, attrs: List[AttrDecl]) extends MarkupDecl with Product with Serializable
-
case class
AttrDecl(name: String, tpe: String, default: DefaultDecl) extends Product with Serializable
an attribute declaration.
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(fixed: Boolean, attValue: String) extends DefaultDecl with Product with Serializable
- sealed abstract class DFAContentModel extends ContentModel
-
abstract
class
DTD extends AnyRef
A document type declaration.
-
sealed abstract
class
Decl extends AnyRef
XML declarations
XML declarations
- scala.xml.dtd.AttListDecl — Attribute list declaration (ATTLIST)
- scala.xml.dtd.AttrDecl — Attribute declaration
- scala.xml.dtd.ElemDecl — Element declaration (ELEMENT)
- scala.xml.dtd.ParameterEntityDecl — Parameter entity list (ENTITY %)
- scala.xml.dtd.ParsedEntityDecl — Parsed general entity list (ENTITY)
- scala.xml.dtd.PEReference — Parsed entity reference
- scala.xml.dtd.UnparsedEntityDecl — Unparsed entity list (ENTITY NDATA)
- sealed abstract class DefaultDecl extends AnyRef
-
case class
DocType(name: String, extID: ExternalID, intSubset: collection.Seq[Decl]) extends Product with Serializable
An XML node for document type declaration.
An XML node for document type declaration.
- name
name of this DOCTYPE
- extID
NoExternalID or the external ID of this doctype
- intSubset
sequence of internal subset declarations
- case class ELEMENTS(r: ContentModel.RegExp) extends DFAContentModel with Product with Serializable
-
case class
ElemDecl(name: String, contentModel: ContentModel) extends MarkupDecl with Product with Serializable
an element declaration
-
class
ElementValidator extends (Node) ⇒ Boolean
validate children and/or attributes of an element exceptions are created but not thrown.
-
sealed abstract
class
EntityDecl extends MarkupDecl
an entity declaration
- sealed abstract class EntityDef extends AnyRef
- case class ExtDef(extID: ExternalID) extends EntityDef with Product with Serializable
-
sealed abstract
class
ExternalID extends TokenTests
an ExternalIDs - either PublicID or SystemID
- case class IntDef(value: String) extends EntityDef with Product with Serializable
- case class MIXED(r: ContentModel.RegExp) extends DFAContentModel with Product with Serializable
- sealed abstract class MarkupDecl extends Decl
-
case class
NotationDecl(name: String, extID: ExternalID) extends MarkupDecl with Product with Serializable
a notation declaration
-
case class
PEReference(ent: String) extends MarkupDecl with Product with Serializable
a parsed entity reference
-
case class
ParameterEntityDecl(name: String, entdef: EntityDef) extends EntityDecl with Product with Serializable
a parameter entity declaration
-
case class
ParsedEntityDecl(name: String, entdef: EntityDef) extends EntityDecl with Product with Serializable
a parsed general entity declaration
-
case class
PublicID(publicId: String, systemId: String) extends ExternalID with Product with Serializable
a public identifier (see http://www.w3.org/QA/2002/04/valid-dtd-list.html).
a public identifier (see http://www.w3.org/QA/2002/04/valid-dtd-list.html).
- publicId
the public identifier literal
- systemId
(can be null for notation pubIDs) the system identifier literal
-
class
Scanner extends Tokens with TokenTests
Scanner for regexps (content models in DTD element declarations) todo: cleanup
-
case class
SystemID(systemId: String) extends ExternalID with Product with Serializable
a system identifier
a system identifier
- systemId
the system identifier literal
- class Tokens extends AnyRef
-
case class
UnparsedEntityDecl(name: String, extID: ExternalID, notation: String) extends EntityDecl with Product with Serializable
an unparsed entity declaration
- case class ValidationException(e: String) extends Exception with Product with Serializable
Value Members
- object ANY extends ContentModel with Product with Serializable
- object ContentModel extends WordExp
-
object
ContentModelParser extends Scanner
Parser for regexps (content models in DTD element declarations)
- object DocType extends Serializable
- object EMPTY extends ContentModel with Product with Serializable
- object IMPLIED extends DefaultDecl with Product with Serializable
- object MakeValidationException
-
object
NoExternalID extends ExternalID
A marker used when a
DocType
contains no external id. - object PCDATA extends ContentModel with Product with Serializable
- object REQUIRED extends DefaultDecl with Product with Serializable