com.wutka.dtd

Class DTDEmpty

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

equals, getCardinal, setCardinal, write

Constructor Details

DTDEmpty

public DTDEmpty()

Method Details

equals

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

write

public void write(PrintWriter out)
            throws IOException
Writes out the keyword "EMPTY"
Specified by:
write in interface DTDOutput
Overrides:
write in interface DTDItem

Copyright (c) 2001 Mark Wutka.