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.
|
setParent
addChild, createItem, endElement, error, getElementName, getLocation, getParent, hasData, hasElement, setElementName, setFilename, setLine
public int getSize()
public NameClassPattern getChild(int i)
public void addNameChild(NameClassPattern child) throws RelaxException
addNameChild
in class Pattern
RelaxException
public java.lang.String getTagName()
getTagName
in class Pattern
public NameClassItem createNameItem() throws RelaxException
createNameItem
in class Pattern
RelaxException
public java.lang.String toProduction()
toProduction
in class Pattern
public java.lang.String toString()
toString
in class java.lang.Object