|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wutka.dtd.DTDItem
public abstract class DTDItem
Represents any item in the DTD
Field Summary | |
---|---|
DTDCardinal |
cardinal
Indicates how often the item may occur |
Constructor Summary | |
---|---|
DTDItem()
|
|
DTDItem(DTDCardinal aCardinal)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object ob)
|
DTDCardinal |
getCardinal()
Retrieves the cardinality of the item |
void |
setCardinal(DTDCardinal aCardinal)
Sets the cardinality of the item |
abstract void |
write(java.io.PrintWriter out)
Writes out a declaration for this item |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public DTDCardinal cardinal
Constructor Detail |
---|
public DTDItem()
public DTDItem(DTDCardinal aCardinal)
Method Detail |
---|
public abstract void write(java.io.PrintWriter out) throws java.io.IOException
write
in interface DTDOutput
java.io.IOException
public boolean equals(java.lang.Object ob)
equals
in class java.lang.Object
public void setCardinal(DTDCardinal aCardinal)
public DTDCardinal getCardinal()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |