|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.services.intake.model.Field | +--org.apache.turbine.services.intake.model.FileItemField
Fields inherited from class org.apache.turbine.services.intake.model.Field |
alwaysRequired, data, defaultValue, displayName, EMPTY, getter, group, ifRequiredMessage, initialized, isMultiValued, key, mapToObject, message, name, onError, required, retrievable, set_flag, setter, testValue, valArray, valid_flag, validator, validValue, VALUE_IF_ABSENT_KEY |
Constructor Summary | |
FileItemField(XmlField field,
Group group)
|
Method Summary | |
protected void |
doSetValue(ParameterParser pp)
converts the parameter to the correct Object. |
protected java.lang.String |
getDefaultValidator()
A suitable validator. |
Field |
init(RunData data)
Method called when this field (the group it belongs to) is pulled from the pool. |
protected void |
setDefaultValue(java.lang.String prop)
Sets the default value for an FileItemField |
protected boolean |
validate(ParameterParser pp)
Compares request data with constraints and sets the valid flag. |
Methods inherited from class org.apache.turbine.services.intake.model.Field |
dispose, getDefault, getDefaultValue, getDisplayName, getInitialValue, getKey, getMessage, getProperty, getTestValue, getValidator, getValue, getValueIfAbsent, init, isRequired, isSet, isValid, removeFromRequest, setDisplayName, setInitialValue, setMessage, setProperty, setRequired, setRequired, setTestValue, toString |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public FileItemField(XmlField field, Group group) throws java.lang.Exception
Method Detail |
protected void setDefaultValue(java.lang.String prop)
setDefaultValue
in class Field
protected java.lang.String getDefaultValidator()
getDefaultValidator
in class Field
public Field init(RunData data) throws TurbineException
init
in class Field
data
- a RunData
valueField
valueTurbineException
- if an error occursprotected boolean validate(ParameterParser pp)
validate
in class Field
protected void doSetValue(ParameterParser pp)
doSetValue
in class Field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |