org.apache.crimson.parser
Class ElementDecl

java.lang.Object
  extended byorg.apache.crimson.parser.ElementDecl

class ElementDecl
extends Object

Represents all of the DTD information about an element. That includes:

This also records whether the element was declared in the internal subset, for use in validating standalone declarations.

Author:
David Brownell

Field Summary
(package private)  SimpleHashtable attributes
           
(package private)  String contentType
          The compressed content model for the element
(package private)  String id
          The name of the element's ID attribute, if any
(package private)  boolean ignoreWhitespace
          True for EMPTY and CHILDREN content models
(package private)  boolean isFromInternalSubset
          Used to validate standalone declarations
(package private)  ContentModel model
           
(package private)  String name
          The element type name.
(package private)  ElementValidator validator
           
 
Constructor Summary
(package private) ElementDecl(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

String name
The element type name.


id

String id
The name of the element's ID attribute, if any


contentType

String contentType
The compressed content model for the element


validator

ElementValidator validator

model

ContentModel model

ignoreWhitespace

boolean ignoreWhitespace
True for EMPTY and CHILDREN content models


isFromInternalSubset

boolean isFromInternalSubset
Used to validate standalone declarations


attributes

SimpleHashtable attributes
Constructor Detail

ElementDecl

ElementDecl(String s)