public class BooleanGrammarCreator extends AbstractGrammarCreator implements GrammarCreator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_NAME
Name of the builtin type.
|
| Constructor and Description |
|---|
BooleanGrammarCreator() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createGrammar(java.net.URI uri)
Creates the built-in grammar.
|
java.lang.String |
getTypeName()
Retrieves the type name of this grammar creator.
|
getBytes, getMode, getParameterspublic static final java.lang.String TYPE_NAME
public byte[] createGrammar(java.net.URI uri)
throws BadFetchError,
java.io.IOException
createGrammar in interface GrammarCreatoruri - the URI for the built-in grammar to create.BadFetchError - error creating the grammarjava.io.IOException - error reading the grammarpublic java.lang.String getTypeName()
getTypeName in interface GrammarCreator