public class StructuredDateEditor extends org.springframework.beans.propertyeditors.CustomDateEditor implements StructuredPropertyEditor
| Constructor and Description |
|---|
StructuredDateEditor(java.text.DateFormat dateFormat,
boolean b) |
StructuredDateEditor(java.text.DateFormat dateFormat,
boolean b,
int i) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
assemble(java.lang.Class type,
java.util.Map fieldValues)
Assemble and bind a property value from the specified fieldValues and the given type
|
java.util.List<java.lang.String> |
getOptionalFields() |
java.util.List<java.lang.String> |
getRequiredFields() |
getAsText, setAsTextpublic StructuredDateEditor(java.text.DateFormat dateFormat,
boolean b)
public StructuredDateEditor(java.text.DateFormat dateFormat,
boolean b,
int i)
public java.util.List<java.lang.String> getRequiredFields()
getRequiredFields in interface StructuredPropertyEditorpublic java.util.List<java.lang.String> getOptionalFields()
getOptionalFields in interface StructuredPropertyEditorpublic java.lang.Object assemble(java.lang.Class type,
java.util.Map fieldValues)
throws java.lang.IllegalArgumentException
StructuredPropertyEditorassemble in interface StructuredPropertyEditortype - The typefieldValues - The field valuesjava.lang.IllegalArgumentException - Thrown in one of the field values is illegal