public class RefPattern extends Pattern
Constructor and Description |
---|
RefPattern(GrammarPattern grammar,
java.lang.String refName)
Creates a new element pattern.
|
Modifier and Type | Method and Description |
---|---|
Item |
createItem(GrammarPattern grammar)
Creates the item.
|
boolean |
equals(java.lang.Object o)
Returns true if the pattern equals.
|
java.lang.String |
getRefName()
Returns the definition name.
|
java.lang.String |
getTagName()
Returns the Relax schema name.
|
java.lang.String |
toProduction()
Returns a string for the production.
|
java.lang.String |
toString()
Debugging.
|
addChild, addNameChild, createNameItem, endElement, error, getElementName, getLocation, getParent, hasData, hasElement, setElementName, setFilename, setLine, setParent
public RefPattern(GrammarPattern grammar, java.lang.String refName)
public java.lang.String getTagName()
getTagName
in class Pattern
public java.lang.String getRefName()
public Item createItem(GrammarPattern grammar) throws RelaxException
createItem
in class Pattern
RelaxException
public java.lang.String toProduction()
toProduction
in class Pattern
public boolean equals(java.lang.Object o)
public java.lang.String toString()
toString
in class java.lang.Object