|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.penguinwerks.jodene.data.Field
A field used to read in values. A field is a named entity that processes the raw text input into an array of resulting doubles. In most cases one input value = one output value. For non-numeric attributes (like color) the resulting values could be a multi-valued attribute.
| Constructor Summary | |
Field()
|
|
| Method Summary | |
java.lang.String |
getName()
The field name. |
abstract double[] |
process(java.lang.String val)
Abstract process method. |
void |
setName(java.lang.String name)
The field name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Field()
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.
public abstract double[] process(java.lang.String val)
throws TranslatorException
val - The raw string to process.
TranslatorException - Thrown if there is a problem translating the field.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||