com.wutka.dtd
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector |
items |
Constructor and Description |
---|
DTDNotationList()
Creates a new notation
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String item)
Adds a item to the list of notation values
|
boolean |
equals(java.lang.Object ob) |
java.lang.String[] |
getItem()
Returns the items in the notation list
|
java.lang.String |
getItem(int i)
Retrieves an item from the notation list
|
java.lang.String[] |
getItems()
Returns the list of notation values as an array
|
java.util.Vector |
getItemsVec()
Returns the list of notation values as a vector
|
void |
remove(java.lang.String item)
Removes an item from the list of notation values
|
void |
setItem(java.lang.String[] newItems)
Sets the items in the notation list
|
void |
setItem(java.lang.String item,
int i)
Stores an item in the notation list
|
void |
write(java.io.PrintWriter out)
Writes a declaration for this notation
|
public void add(java.lang.String item)
public void remove(java.lang.String item)
public java.lang.String[] getItems()
public java.util.Vector getItemsVec()
public void write(java.io.PrintWriter out) throws java.io.IOException
public boolean equals(java.lang.Object ob)
equals
in class java.lang.Object
public java.lang.String[] getItem()
public void setItem(java.lang.String[] newItems)
public void setItem(java.lang.String item, int i)
public java.lang.String getItem(int i)
Copyright (c) 2001 Mark Wutka.