public class ZeroOrMorePattern extends Pattern
| Constructor and Description |
|---|
ZeroOrMorePattern()
Creates a new zero-or-more pattern.
|
ZeroOrMorePattern(Pattern pattern)
Creates a new zero-or-more 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 |
getPatterns()
returns the group.
|
java.lang.String |
getTagName()
Returns the Relax schema name.
|
int |
hashCode() |
java.lang.String |
toProduction()
Returns a string for the production.
|
java.lang.String |
toString()
Debugging.
|
addNameChild, createNameItem, endElement, error, getElementName, getLocation, getParent, hasData, hasElement, setElementName, setFilename, setLine, setParentpublic ZeroOrMorePattern()
public ZeroOrMorePattern(Pattern pattern) throws RelaxException
RelaxExceptionpublic java.lang.String getTagName()
getTagName in class Patternpublic void addChild(Pattern child) throws RelaxException
addChild in class PatternRelaxExceptionpublic Pattern getPatterns()
public Item createItem(GrammarPattern grammar) throws RelaxException
createItem in class PatternRelaxExceptionpublic java.lang.String toProduction()
toProduction in class Patternpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object