com.wutka.dtd
Class DTDEmpty

java.lang.Object
  extended by com.wutka.dtd.DTDItem
      extended by com.wutka.dtd.DTDEmpty
All Implemented Interfaces:
DTDOutput

public class DTDEmpty
extends DTDItem

Represents the EMPTY keyword in an Element's content spec

Version:
$Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $
Author:
Mark Wutka

Field Summary
 
Fields inherited from class com.wutka.dtd.DTDItem
cardinal
 
Constructor Summary
DTDEmpty()
           
 
Method Summary
 boolean equals(Object ob)
           
 void write(PrintWriter out)
          Writes out the keyword "EMPTY"
 
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

DTDEmpty

public DTDEmpty()
Method Detail

write

public void write(PrintWriter out)
           throws IOException
Writes out the keyword "EMPTY"

Specified by:
write in interface DTDOutput
Specified by:
write in class DTDItem
Throws:
IOException

equals

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


Copyright (c) 2001 Mark Wutka.