|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.menagery.dtd.DTD
Implements a tree representation of a DTD.
| Constructor Summary | |
DTD()
Creates a new DTD. |
|
| Method Summary | |
void |
addAttlist(Attlist attlist)
Adds an Attlist to the DTD. |
void |
addElement(Element element)
Adds an Element to the DTD. |
void |
addEntity(Entity entity)
Adds an entity to the DTD. |
Element |
getElementByName(java.lang.String name)
Get an Element from the DTD based on name. |
java.util.Enumeration |
getElements()
Get an enumeration of all the elements in the DTD. |
java.util.Enumeration |
getEntities()
Get the entities from the entity tree. |
Entity |
getEntityByName(java.lang.String name)
Get an Entity by name. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public DTD()
| Method Detail |
public void addElement(Element element)
element - The Element object to be added.public Element getElementByName(java.lang.String name)
name - The element name to retrieve.public java.util.Enumeration getElements()
public void addAttlist(Attlist attlist)
attlist - The Attlist object to be addedpublic void addEntity(Entity entity)
entity - The Entity object to be added.public java.util.Enumeration getEntities()
public Entity getEntityByName(java.lang.String name)
name - The entity name.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||