|
Matra DTD Parser 0.8b | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.conradroche.matra.decl.DocType
Class to hold all the declaration in the DTD.
| Constructor Summary | |
DocType()
DocType constructor comment. |
|
| Method Summary | |
void |
addAttList(AttList attList)
Adds an attribute list. |
void |
addElementType(ElementType eleType)
Adds an element type declaration. |
void |
addEntity(Entity ent)
Adds an entity. |
void |
addParamEntity(Entity ent)
Adds a parameter entity. |
Hashtable |
getAllAttributes()
Returns a Hashtable of all attribute lists. |
AttList |
getAttributeList(String elementName)
Returns all the attributes for the specified Element Type. |
Hashtable |
getElementList()
Returns a Hashtable of all Element types. |
Enumeration |
getElementNames()
Returns the element names for all the element types. |
ElementType |
getElementType(String elementName)
Returns the Element Type declaration for the specified element name. |
Entity |
getEntity(String entityName)
Returns an entity with the specified name. |
Hashtable |
getEntityList()
Returns all the entity definitions. |
String |
getEntityValue(String entityName)
Returns the literal value for the specified entity. |
Enumeration |
getNotationList()
Returns all the notations. |
Entity |
getParamEntity(String pEntityName)
Returns the parameter entity with the specified name. |
String |
getParamEntityValue(String pEntityName)
Returns the literal value for the specified entity. |
Enumeration |
getRootElements()
Returns the potential root elements for this doctype. |
String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DocType()
| Method Detail |
public void addAttList(AttList attList)
attList - The attribute list to add.
public void addElementType(ElementType eleType)
throws DuplicateDefinitionException
eleType - The element type declaration.DuplicateDefinitionException - If an element type with
the same name already exists.public void addEntity(Entity ent)
ent - The entity to add.public void addParamEntity(Entity ent)
ent - The parameter entity to add.public Hashtable getAllAttributes()
public AttList getAttributeList(String elementName)
elementName - The name of the Element Type.public Hashtable getElementList()
public Enumeration getElementNames()
public ElementType getElementType(String elementName)
elementName - The name of the Element Type.public Entity getEntity(String entityName)
entityName - The name of the entity.public Hashtable getEntityList()
public String getEntityValue(String entityName)
entityName - The name of the entity.public Enumeration getNotationList()
public Entity getParamEntity(String pEntityName)
pEntityName - The name of the
parameter entity.public String getParamEntityValue(String pEntityName)
pEntityName - The name of the
parameter entity.public Enumeration getRootElements()
public String toString()
toString in class Object
|
Matra DTD Parser 0.8b | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||