com.wutka.dtd
public class DTDCardinal extends java.lang.Object implements DTDOutput
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name |
static DTDCardinal |
NONE
Indicates no cardinality (implies a single object)
|
static DTDCardinal |
ONEMANY
Indicates that there can be one-to-many occurrances of an item
|
static DTDCardinal |
OPTIONAL
Indicates that an item is optional (zero-to-one)
|
int |
type |
static DTDCardinal |
ZEROMANY
Indicates that there can be zero-to-many occurrances of an item
|
Constructor and Description |
---|
DTDCardinal(int aType,
java.lang.String aName) |
public static final DTDCardinal NONE
public static final DTDCardinal OPTIONAL
public static final DTDCardinal ZEROMANY
public static final DTDCardinal ONEMANY
public int type
public java.lang.String name
Copyright (c) 2001 Mark Wutka.