A C D E F G I L M N O P R S T U

A

addAttlist(Attlist) - Method in class org.menagery.dtd.DTD
Adds an Attlist to the DTD.
addElement(Element) - Method in class org.menagery.dtd.DTD
Adds an Element to the DTD.
addEntity(Entity) - Method in class org.menagery.dtd.DTD
Adds an entity to the DTD.
addOption(Option) - Method in class org.menagery.dtd.OptionList
Add an Option to the OptionList.
Attlist - class org.menagery.dtd.Attlist.
 
Attlist(String, String) - Constructor for class org.menagery.dtd.Attlist
Creates a new Attlist (attribute list) object.
Attribute - class org.menagery.dtd.Attribute.
 
Attribute(String, int, int, String, Vector) - Constructor for class org.menagery.dtd.Attribute
Creates a new Attribute object.

C

CDATA - Static variable in class org.menagery.dtd.Attribute
Attribute Type: CDATA

D

DTD - class org.menagery.dtd.DTD.
Implements a tree representation of a DTD.
DTD() - Constructor for class org.menagery.dtd.DTD
Creates a new DTD.

E

Element - class org.menagery.dtd.Element.
 
Element(String) - Constructor for class org.menagery.dtd.Element
Creates an EMPTY element.
Element(String, String) - Constructor for class org.menagery.dtd.Element
Creates a new element.
ENTITIES - Static variable in class org.menagery.dtd.Attribute
Attribute Type: ENTITIES
Entity - class org.menagery.dtd.Entity.
 
ENTITY - Static variable in class org.menagery.dtd.Attribute
Attribute Type: ENTITY
Entity(String, String, DTD, boolean) - Constructor for class org.menagery.dtd.Entity
Creates a new Entity from the DTD data.
equals(Attribute) - Method in class org.menagery.dtd.Attribute
Compares two Attribute objects for equality.
EXT_NONE - Static variable in class org.menagery.dtd.Entity
Indicator that this is NOT an external entity type.
EXT_PUBLIC - Static variable in class org.menagery.dtd.Entity
The PUBLIC external entity type.
EXT_SYSTEM - Static variable in class org.menagery.dtd.Entity
The SYSTEM external entity type.

F

FIXED - Static variable in class org.menagery.dtd.Attribute
Attribute Declaration: #FIXED

G

getAttlist() - Method in class org.menagery.dtd.Element
Get the attribute list.
getAttributes() - Method in class org.menagery.dtd.Attlist
Get the attribute list.
getDeclaration() - Method in class org.menagery.dtd.Attribute
Get the attribute declaration.
getElement() - Method in class org.menagery.dtd.Attlist
Get the element.
getElement() - Method in class org.menagery.dtd.Option
Gets the associated Element for this option.
getElement(String) - Static method in class org.menagery.dtd.Parser
Retrieves a complete element definition from the DTD file.
getElementByName(String) - Method in class org.menagery.dtd.DTD
Get an Element from the DTD based on name.
getElements() - Method in class org.menagery.dtd.DTD
Get an enumeration of all the elements in the DTD.
getEntities() - Method in class org.menagery.dtd.DTD
Get the entities from the entity tree.
getEntityByName(String) - Method in class org.menagery.dtd.DTD
Get an Entity by name.
getEnum() - Method in class org.menagery.dtd.Attribute
Get the user defined enumeration.
getEnumString() - Method in class org.menagery.dtd.Attribute
Get the enumeration as a string.
getExternalType() - Method in class org.menagery.dtd.Entity
Indicates the type of entity: EXT_NONE, EXT_SYSTEM or EXT_PUBLIC.
getModeString() - Method in class org.menagery.dtd.Attribute
Get the mode string.
getName() - Method in class org.menagery.dtd.Element
Get the element's name.
getName() - Method in class org.menagery.dtd.Option
Get the option name.
getName() - Method in class org.menagery.dtd.Entity
Get the entity's name.
getName() - Method in class org.menagery.dtd.Attribute
Get the parameter name.
getNotation() - Method in class org.menagery.dtd.Entity
Get the notation name.
getOptionList() - Method in class org.menagery.dtd.Element
Get the contents/OptionList.
getOptions() - Method in class org.menagery.dtd.OptionList
Get the option list.
getOptionType() - Method in class org.menagery.dtd.Option
Gets the type (cardinality) of this option.
getPublicId() - Method in class org.menagery.dtd.Entity
Get the public id of the entity.
getType() - Method in class org.menagery.dtd.OptionList
Gets the list type.
getType() - Method in class org.menagery.dtd.Attribute
Get the attribute type.
getTypeString() - Method in class org.menagery.dtd.Attribute
For outputting DTD-style attlists.
getUri() - Method in class org.menagery.dtd.Entity
Get the URI of the entity.
getValue() - Method in class org.menagery.dtd.Entity
Get the value of the entity.
getValue() - Method in class org.menagery.dtd.Attribute
Get the attribute default value.

I

ID - Static variable in class org.menagery.dtd.Attribute
Attribute Type: ID
IDREF - Static variable in class org.menagery.dtd.Attribute
Attribute Type: IDREF
IMPLIED - Static variable in class org.menagery.dtd.Attribute
Attribute Declaration: #IMPLIED
isEmpty() - Method in class org.menagery.dtd.Element
Indicates if this is an EMPTY element.
isNdata() - Method in class org.menagery.dtd.Entity
Indicates that this is a NDATA entity.

L

LIST_AND - Static variable in class org.menagery.dtd.OptionList
Indicates that the list is a sequential AND type list (,)
LIST_OR - Static variable in class org.menagery.dtd.OptionList
Indicates that the list is an exclusive OR type list (|)

M

main(String[]) - Static method in class org.menagery.dtd.Parser
Unit test.
merge(Attlist) - Method in class org.menagery.dtd.Attlist
Merge another attribute list into this list.

N

NMTOKEN - Static variable in class org.menagery.dtd.Attribute
Attribute Type: NMTOKEN
NMTOKENS - Static variable in class org.menagery.dtd.Attribute
Attribute Type: NMTOKENS
NOTATION - Static variable in class org.menagery.dtd.Attribute
Attribute Type: NOTATION

O

Option - class org.menagery.dtd.Option.
 
OPTION_NONE - Static variable in class org.menagery.dtd.Option
Indicates that the option cardinality is not specified.
OPTION_NONE_TO_MANY - Static variable in class org.menagery.dtd.Option
Indicates that the option cardinality is none-to-many (*)
OPTION_ONE_TO_MANY - Static variable in class org.menagery.dtd.Option
Indicates that the option cardinality is one-to-many (+)
OPTION_OPTIONAL - Static variable in class org.menagery.dtd.Option
Indicates that the option cardinality is optional (?)
Option() - Constructor for class org.menagery.dtd.Option
Creates a new Option object.
Option(String) - Constructor for class org.menagery.dtd.Option
Creates a new Option object.
OptionList - class org.menagery.dtd.OptionList.
 
OptionList() - Constructor for class org.menagery.dtd.OptionList
Creates a new OptionList object.
org.menagery.dtd - package org.menagery.dtd
 

P

parse(File) - Static method in class org.menagery.dtd.Parser
Given a file reference, parses the file and creates a DTD tree.
Parser - class org.menagery.dtd.Parser.
Non-threaded DTD reader and parser.
Parser() - Constructor for class org.menagery.dtd.Parser
 

R

REQUIRED - Static variable in class org.menagery.dtd.Attribute
Attribute Declaration: #REQUIRED

S

setAttlist(Attlist) - Method in class org.menagery.dtd.Element
Set the attribute list.
setElement(Element) - Method in class org.menagery.dtd.Attlist
Set the element for this attribute.
setElement(Element) - Method in class org.menagery.dtd.Option
Sets the Element associated with this option.
setLastOptionType(int) - Method in class org.menagery.dtd.OptionList
Sets the type (cardinality) of the last option added (Option or OptionList).
setOptionType(int) - Method in class org.menagery.dtd.Option
Sets the type (cardinality) of this option.
setType(int) - Method in class org.menagery.dtd.OptionList
Sets the list type.
sValue - Variable in class org.menagery.dtd.Entity
The entity value (if type is EXT_NONE).

T

toString() - Method in class org.menagery.dtd.Element
Create a String representation of the contents of this Element and all its aggregate objects.
toString() - Method in class org.menagery.dtd.Attlist
Override toString().
toString() - Method in class org.menagery.dtd.Option
Returns a String representation of this Option.
toString() - Method in class org.menagery.dtd.OptionList
Returns a string representation of this object and it's aggregate objects.
toString() - Method in class org.menagery.dtd.Entity
Show the ENTITY in DTD format.
toString() - Method in class org.menagery.dtd.Attribute
Override toString().

U

USER_DEFINED - Static variable in class org.menagery.dtd.Attribute
Attribute Type: User defined enumerated type

A C D E F G I L M N O P R S T U