public class ChoiceNamePattern extends NameClassPattern
L| Constructor and Description |
|---|
ChoiceNamePattern()
Creates a new choice pattern.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNameChild(NameClassPattern child)
Adds an element.
|
NameClassItem |
createNameItem()
Creates the production item.
|
boolean |
equals(java.lang.Object o) |
NameClassPattern |
getChild(int i)
Returns the n-th child.
|
int |
getSize()
Returns the number of children.
|
java.lang.String |
getTagName()
Returns the Relax schema name.
|
java.lang.String |
toProduction()
Returns a string for the production.
|
java.lang.String |
toString()
Debugging.
|
setParentaddChild, createItem, endElement, error, getElementName, getLocation, getParent, hasData, hasElement, setElementName, setFilename, setLinepublic int getSize()
public NameClassPattern getChild(int i)
public void addNameChild(NameClassPattern child) throws RelaxException
addNameChild in class PatternRelaxExceptionpublic java.lang.String getTagName()
getTagName in class Patternpublic NameClassItem createNameItem() throws RelaxException
createNameItem in class PatternRelaxExceptionpublic java.lang.String toProduction()
toProduction in class Patternpublic java.lang.String toString()
toString in class java.lang.Object