|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The TranslatorGrammar
interface describes the symbolic
components of a grammar as well as acting as a factory for
Translator
instances. It is a central interface as
the TranslatorGrammar is responsible for instantiation of new
Translator instances.
Method Summary | |
String |
getName()
Returns the name of the Translator . |
String |
getVersion()
Returns the version number given to this grammar. |
Translator |
newTranslator()
Returns a new Translator for this
TranslatorGrammar having some default set of
properties. |
Translator |
newTranslator(Properties properties)
Returns a new Translator for this
TranslatorGrammar using the given
Properties . |
Method Detail |
public String getName()
Translator
.public String getVersion()
public Translator newTranslator()
Translator
for this
TranslatorGrammar
having some default set of
properties.public Translator newTranslator(Properties properties)
Translator
for this
TranslatorGrammar
using the given
Properties
. The names and values of the elements
in the Properties
may be used to modify or
communicate with the internals of the Translator
instance (such as turning on debugging). The specifics
reagarding the names and values of the properties are specific
to the translator itself and need be documented elsewhere.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |