public class JSGFRuleName extends JSGFRule
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
fullRuleName |
static JSGFRuleName |
NULL |
protected java.lang.String |
packageName |
java.lang.String |
resolvedRuleName |
protected java.lang.String |
simpleGrammarName |
protected java.lang.String |
simpleRuleName |
static JSGFRuleName |
VOID |
Constructor and Description |
---|
JSGFRuleName() |
JSGFRuleName(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFullGrammarName() |
java.lang.String |
getPackageName() |
java.lang.String |
getRuleName() |
java.lang.String |
getSimpleGrammarName() |
java.lang.String |
getSimpleRuleName() |
boolean |
isLegalRuleName() |
static boolean |
isLegalRuleName(java.lang.String name) |
static boolean |
isRuleNamePart(char c) |
void |
setRuleName(java.lang.String ruleName) |
static java.lang.String |
stripRuleName(java.lang.String name) |
java.lang.String |
toString() |
protected java.lang.String fullRuleName
protected java.lang.String packageName
protected java.lang.String simpleGrammarName
protected java.lang.String simpleRuleName
public java.lang.String resolvedRuleName
public static final JSGFRuleName NULL
public static final JSGFRuleName VOID
public JSGFRuleName()
public JSGFRuleName(java.lang.String name)
public java.lang.String getFullGrammarName()
public java.lang.String getPackageName()
public java.lang.String getRuleName()
public java.lang.String getSimpleGrammarName()
public java.lang.String getSimpleRuleName()
public boolean isLegalRuleName()
public static boolean isLegalRuleName(java.lang.String name)
public static boolean isRuleNamePart(char c)
public void setRuleName(java.lang.String ruleName)
public static java.lang.String stripRuleName(java.lang.String name)