public class InterleavePattern extends Pattern
| Constructor and Description |
|---|
InterleavePattern()
Creates a new interleave pattern.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Pattern child)
Adds an element.
|
Item |
createItem(GrammarPattern grammar)
Creates the production item.
|
boolean |
equals(java.lang.Object o) |
Pattern |
getChild(int i)
Returns the n-th child.
|
int |
getSize()
Returns the number of children.
|
java.lang.String |
getTagName()
Returns the Relax schema name.
|
boolean |
hasData()
Returns true if it contains a data element.
|
boolean |
hasElement()
Returns true if it contains a data element.
|
java.lang.String |
toProduction()
Returns a string for the production.
|
java.lang.String |
toString()
Debugging.
|
addNameChild, createNameItem, endElement, error, getElementName, getLocation, getParent, setElementName, setFilename, setLine, setParentpublic java.lang.String getTagName()
getTagName in class Patternpublic int getSize()
public Pattern getChild(int i)
public boolean hasData()
public boolean hasElement()
hasElement in class Patternpublic void addChild(Pattern child) throws RelaxException
addChild in class PatternRelaxExceptionpublic Item createItem(GrammarPattern grammar) throws RelaxException
createItem in class PatternRelaxExceptionpublic java.lang.String toProduction()
toProduction in class Patternpublic java.lang.String toString()
toString in class java.lang.Object