|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The LRTranslationComponent
interface describes common
behavior required of all components in the lr translation process
-- the ability to be reset to an initial state, the need to
reference the LRTranslatorGrammar
during the
translation process, the need of referencing the Input
during the translation process, and access to general properties.
Method Summary | |
Auditor |
getAuditor()
Returns the current Auditor instance. |
Input |
getInput()
Returns the current Input instance. |
LRTranslatorGrammar |
getLRTranslatorGrammar()
Returns the current LRTranslatorGrammar to the given
instance. |
Properties |
getProperties()
Returns the current Properties instance. |
void |
initialize(Object obj)
Initializes the component with some Object . |
void |
reset()
Resets the internal state of the TranslationComponent in preparation for another
translation. |
void |
setAuditor(Auditor auditor)
Sets the current Auditor to the given instance. |
void |
setInput(Input in)
Sets the current Input to the given instance. |
void |
setLRTranslatorGrammar(LRTranslatorGrammar grammar)
Sets the current LRTranslatorGrammar to the given
instance. |
void |
setProperties(Properties p)
Sets the current Properties to the given instance. |
Method Detail |
public void initialize(Object obj)
Object
. If
the runtime type of the given Object is inappropriate, the
implementation will throw a RuntimeException
.public void reset()
TranslationComponent
in preparation for another
translation.public void setLRTranslatorGrammar(LRTranslatorGrammar grammar)
LRTranslatorGrammar
to the given
instance.public LRTranslatorGrammar getLRTranslatorGrammar()
LRTranslatorGrammar
to the given
instance.public void setInput(Input in)
Input
to the given instance.public Input getInput()
Input
instance.public void setAuditor(Auditor auditor)
Auditor
to the given instance.public Auditor getAuditor()
Auditor
instance.public void setProperties(Properties p)
Properties
to the given instance.public Properties getProperties()
Properties
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |