public class TextPattern extends Pattern
Constructor and Description |
---|
TextPattern()
Creates a new empty pattern.
|
Modifier and Type | Method and Description |
---|---|
Item |
createItem(GrammarPattern grammar)
Creates the program (somewhat bogus)
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
toProduction()
Returns a string for the production.
|
java.lang.String |
toString()
Debugging.
|
addChild, addNameChild, createNameItem, endElement, error, getElementName, getLocation, getParent, getTagName, hasData, hasElement, setElementName, setFilename, setLine, setParent
public Item createItem(GrammarPattern grammar) throws RelaxException
createItem
in class Pattern
RelaxException
public java.lang.String toProduction()
toProduction
in class Pattern
public java.lang.String toString()
toString
in class java.lang.Object