Translator classes should have a public constructor that takes no arguments. They may optionally have a second constructor that takes a single string as a parameter. When the {@link org.apache.hivemind.parse.DescriptorParser} encountersa translator
of the form "translator-id,initialization-string
" (example: "int,min=0") it will use the second constructor, passing the initialization string.
Generally, initializion strings are of the form key=value[,key=value]*
. Each initializer has a set of keys it recognizes, other keys are simply ignored.
@author Howard Lewis Ship
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|