|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.speakright.core.FieldBinder
public class FieldBinder
FieldBinder uses reflect to get the value of field's (aka. member variables) in a flow object. Used in prompt texts, like this "What {%subject%}".
| Constructor Summary | |
|---|---|
FieldBinder()
Constructor |
|
| Method Summary | |
|---|---|
boolean |
failed(SRError parent)
|
java.lang.String |
getFieldValue(java.lang.String fieldName,
IFlow flow)
Get the value of the given fieldName, such as "m_main1Prompt". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldBinder()
| Method Detail |
|---|
public boolean failed(SRError parent)
public java.lang.String getFieldValue(java.lang.String fieldName,
IFlow flow)
fieldName - name of the field, usually starts with m_flow - flow object in which the field is a member (or it can be in
a base class of flow)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||