com.wutka.dtd
Class DTDChoice

java.lang.Object
  |
  +--com.wutka.dtd.DTDItem
        |
        +--com.wutka.dtd.DTDContainer
              |
              +--com.wutka.dtd.DTDChoice
All Implemented Interfaces:
DTDOutput

public class DTDChoice
extends DTDContainer

Represents a choice of items. A choice in a DTD looks like (option1 | option2 | option3)

Version:
$Revision: 1.12 $ $Date: 2000/09/01 13:21:05 $ by $Author: wutka $
Author:
Mark Wutka

Fields inherited from class com.wutka.dtd.DTDContainer
items
 
Fields inherited from class com.wutka.dtd.DTDItem
cardinal
 
Constructor Summary
DTDChoice()
           
 
Method Summary
 boolean equals(Object ob)
           
 void write(PrintWriter out)
          Writes out the possible choices to a PrintWriter
 
Methods inherited from class com.wutka.dtd.DTDContainer
add, getItem, getItem, getItems, getItemsVec, remove, setItem, setItem
 
Methods inherited from class com.wutka.dtd.DTDItem
getCardinal, setCardinal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTDChoice

public DTDChoice()
Method Detail

write

public void write(PrintWriter out)
           throws IOException
Writes out the possible choices to a PrintWriter
Overrides:
write in class DTDContainer

equals

public boolean equals(Object ob)
Overrides:
equals in class DTDContainer