|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.wutka.dtd.DTDEnumeration
Represents an enumeration of attribute values
| Field Summary | |
protected Vector |
items
|
| Constructor Summary | |
DTDEnumeration()
Creates a new enumeration |
|
| Method Summary | |
void |
add(String item)
Adds a new value to the list of values |
boolean |
equals(Object ob)
|
String[] |
getItem()
Returns the items in the enumeration |
String |
getItem(int i)
Retrieves an item from the enumeration |
String[] |
getItems()
Returns the values as an array |
Vector |
getItemsVec()
Returns the values as a vector (not a clone!) |
void |
remove(String item)
Removes a value from the list of values |
void |
setItem(String[] newItems)
Sets the items in the enumeration |
void |
setItem(String item,
int i)
Stores an item in the enumeration |
void |
write(PrintWriter out)
Writes out a declaration for this enumeration |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Vector items
| Constructor Detail |
public DTDEnumeration()
| Method Detail |
public void add(String item)
public void remove(String item)
public String[] getItems()
public Vector getItemsVec()
public void write(PrintWriter out)
throws IOException
write in interface DTDOutputpublic boolean equals(Object ob)
equals in class Objectpublic String[] getItem()
public void setItem(String[] newItems)
public void setItem(String item,
int i)
public String getItem(int i)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||