public interface ValueGenerator
Modifier and Type | Method and Description |
---|---|
String |
getValue(org.apache.commons.httpclient.URI uri,
String url,
String fieldId,
String defaultValue,
List<String> definedValues,
Map<String,String> envAttributes,
Map<String,String> fieldAttributes)
The interface that accepts default values for the spider.
|
String getValue(org.apache.commons.httpclient.URI uri, String url, String fieldId, String defaultValue, List<String> definedValues, Map<String,String> envAttributes, Map<String,String> fieldAttributes)
uri
- the uriurl
- the resolved URLfieldId
- the name associated with the current fielddefaultValue
- the value of 'value attribute' if it has onedefinedValues
- the predefined values for the field, if presentenvAttributes
- all attributes of the current formfieldAttributes
- all attributes of the current field