|
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.AttList
Class to store the attribute list for an element type.
| Constructor Summary | |
AttList()
AttList default constructor. |
|
AttList(String content)
Read an attribute list declaration from the string. |
|
| Method Summary | |
void |
addAttribute(Attribute a)
Add an attribute to the attribute list. |
Vector |
getAttribs()
Get the list of attributes in the atribute list. |
String |
getEleName()
Get the name of the element to which this attribute list is associated. |
boolean |
getHasNotationAttribute()
Checks if the attribute list has an attribute of type notation. |
void |
merge(AttList attList)
Merges all the attributes in the specified attribute list into this attribute list. |
void |
reset()
reset the attribute list. |
void |
setEleName(String newEleName)
Set the element name associated with this attribute list. |
String |
toString()
Convert this Attribute list to a DTD String. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AttList()
public AttList(String content)
throws DTDSyntaxException
content - The text defining the attribute list.DTDSyntaxException - If syntax error encountered on parsing.| Method Detail |
public void addAttribute(Attribute a)
a - The Attribute to be added.public boolean getHasNotationAttribute()
true if the attribute list
has an attribute of type notation; false
otherwise.public Vector getAttribs()
public String getEleName()
setEleName(java.lang.String)public void reset()
public void merge(AttList attList)
attList - The attribute list to merge from.public void setEleName(String newEleName)
newEleName - The name of the element.getEleName()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 | |||||||||