Modifier and Type | Field and Description |
---|---|
DTDCardinal |
DTDItem.cardinal
Indicates how often the item may occur
|
static DTDCardinal |
DTDCardinal.NONE
Indicates no cardinality (implies a single object)
|
static DTDCardinal |
DTDCardinal.ONEMANY
Indicates that there can be one-to-many occurrances of an item
|
static DTDCardinal |
DTDCardinal.OPTIONAL
Indicates that an item is optional (zero-to-one)
|
static DTDCardinal |
DTDCardinal.ZEROMANY
Indicates that there can be zero-to-many occurrances of an item
|
Modifier and Type | Method and Description |
---|---|
DTDCardinal |
DTDItem.getCardinal()
Retrieves the cardinality of the item
|
protected DTDCardinal |
DTDParser.parseCardinality() |
Modifier and Type | Method and Description |
---|---|
void |
DTDItem.setCardinal(DTDCardinal aCardinal)
Sets the cardinality of the item
|
Constructor and Description |
---|
DTDItem(DTDCardinal aCardinal) |
Copyright (c) 2001 Mark Wutka.