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.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $
- Author:
- Mark Wutka
DTDChoice
public DTDChoice()
write
public void write(PrintWriter out)
throws IOException
- Writes out the possible choices to a PrintWriter
- Specified by:
write
in interface DTDOutput
- Specified by:
write
in class DTDContainer
- Throws:
IOException
equals
public boolean equals(Object ob)
- Overrides:
equals
in class DTDContainer
Copyright (c) 2001 Mark Wutka.