protected static class DTDParser.ChildToken
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CHOICE
Type of a NAME token; see
DTDParser.parseChildren(XsTTopLevelElement, String, Locator)
for the definition of CHOICE. |
static int |
SEQUENCE
Type of a NAME token; see
DTDParser.parseChildren(XsTTopLevelElement, String, Locator)
for the definition of SEQUENCE. |
Modifier | Constructor and Description |
---|---|
protected |
DTDParser.ChildToken(int pType,
java.lang.String pMultiplicity) |
Modifier and Type | Method and Description |
---|---|
void |
add(DTDParser.ChildToken pToken)
Adds a token to the list of tokens.
|
void |
add(java.lang.String pName)
Adds a name to the list of tokens.
|
java.lang.Object[] |
getChilds()
Returns the tokens childs.
|
java.lang.String |
getMultiplicity()
Returns the tokens multiplicity.
|
int |
getType()
|
public static final int SEQUENCE
DTDParser.parseChildren(XsTTopLevelElement, String, Locator)
for the definition of SEQUENCE.public static final int CHOICE
DTDParser.parseChildren(XsTTopLevelElement, String, Locator)
for the definition of CHOICE.protected DTDParser.ChildToken(int pType, java.lang.String pMultiplicity)
public int getType()
public void add(DTDParser.ChildToken pToken)
public void add(java.lang.String pName)
public java.lang.Object[] getChilds()
public java.lang.String getMultiplicity()