com.wutka.dtd
Class DTDNotationList
- DTDOutput
public class DTDNotationList
Represents a notation declaration for an attribute
$Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $
void | add(String item) - Adds a item to the list of notation values
|
boolean | equals(Object ob)
|
String[] | getItem() - Returns the items in the notation list
|
String | getItem(int i) - Retrieves an item from the notation list
|
String[] | getItems() - Returns the list of notation values as an array
|
Vector | getItemsVec() - Returns the list of notation values as a vector
|
void | remove(String item) - Removes an item from the list of notation values
|
void | setItem(String item, int i) - Stores an item in the notation list
|
void | setItem(String[] newItems) - Sets the items in the notation list
|
void | write(PrintWriter out) - Writes a declaration for this notation
|
items
protected Vector items
DTDNotationList
public DTDNotationList()
Creates a new notation
add
public void add(String item)
Adds a item to the list of notation values
equals
public boolean equals(Object ob)
getItem
public String[] getItem()
Returns the items in the notation list
getItem
public String getItem(int i)
Retrieves an item from the notation list
getItems
public String[] getItems()
Returns the list of notation values as an array
getItemsVec
public Vector getItemsVec()
Returns the list of notation values as a vector
remove
public void remove(String item)
Removes an item from the list of notation values
setItem
public void setItem(String item,
int i)
Stores an item in the notation list
setItem
public void setItem(String[] newItems)
Sets the items in the notation list
write
public void write(PrintWriter out)
throws IOException
Writes a declaration for this notation
- write in interface DTDOutput
Copyright (c) 2001 Mark Wutka.