Modifiers | Name | Description |
---|---|---|
protected GrailsApplication |
grailsApplication |
|
protected java.util.List<DataBindingListener> |
listeners |
|
protected org.springframework.context.MessageSource |
messageSource |
Fields inherited from class | Fields |
---|---|
class SimpleDataBinder |
__$stMC, DEFAULT_DATE_FORMAT |
Type | Name and description |
---|---|
boolean |
convertEmptyStringsToNull |
boolean |
trimStrings |
Constructor and description |
---|
GrailsWebDataBinder
(GrailsApplication grailsApplication) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.Object |
addElementToCollection(java.lang.Object obj, java.lang.String propName, java.lang.Class propertyType, java.lang.Object propertyValue, boolean clearCollection) |
|
protected java.lang.Object |
addElementToCollection(java.lang.Object obj, java.lang.String propName, org.grails.datastore.mapping.model.PersistentProperty property, java.lang.Object propertyValue, boolean clearCollection) |
|
protected java.lang.Object |
addElementToCollectionAt(java.lang.Object obj, java.lang.String propertyName, java.util.Collection collection, java.lang.Object index, java.lang.Object val) |
|
void |
bind(java.lang.Object obj, DataBindingSource source) |
|
void |
bind(java.lang.Object obj, DataBindingSource source, DataBindingListener listener) |
|
void |
bind(java.lang.Object object, DataBindingSource source, java.lang.String filter, java.util.List whiteList, java.util.List blackList, DataBindingListener listener) |
|
void |
bind(java.lang.Object obj, groovy.util.slurpersupport.GPathResult gpath) |
|
protected java.lang.Object |
convert(java.lang.Class typeToConvertTo, java.lang.Object value) |
|
protected void |
doBind(java.lang.Object object, DataBindingSource source, java.lang.String filter, java.util.List whiteList, java.util.List blackList, DataBindingListener listener, java.lang.Object errors) |
|
protected java.lang.Class |
getDomainClassType(java.lang.Object obj, java.lang.String propName) @param obj any object |
|
protected java.lang.String |
getFormatString(java.lang.annotation.Annotation annotation) |
|
protected java.lang.Object |
getIdentifierValueFrom(java.lang.Object source) |
|
protected java.util.Locale |
getLocale() |
|
protected java.lang.Object |
getPersistentInstance(java.lang.Class<?> type, java.lang.Object id) |
|
protected java.lang.Class<?> |
getReferencedTypeForCollection(java.lang.String name, java.lang.Object target) |
|
protected java.lang.Object |
initializeProperty(java.lang.Object obj, java.lang.String propName, java.lang.Class propertyType, DataBindingSource source) |
|
protected boolean |
isDomainClass(java.lang.Class<?> clazz) |
|
protected java.lang.Object |
populateErrors(java.lang.Object obj, org.springframework.validation.BindingResult bindingResult) |
|
protected java.lang.Object |
preprocessValue(java.lang.Object propertyValue) |
|
protected java.lang.Object |
processIndexedProperty(java.lang.Object obj, groovy.lang.MetaProperty metaProperty, IndexedPropertyReferenceDescriptor indexedPropertyReferenceDescriptor, java.lang.Object val, DataBindingSource source, DataBindingListener listener, java.lang.Object errors) |
|
protected java.lang.Object |
processProperty(java.lang.Object obj, groovy.lang.MetaProperty metaProperty, java.lang.Object val, DataBindingSource source, DataBindingListener listener, java.lang.Object errors) |
|
void |
setDataBindingListeners(DataBindingListener[] listeners) |
|
void |
setFormattedValueConverters(FormattedValueConverter[] converters) |
|
void |
setMessageSource(org.springframework.context.MessageSource messageSource) |
|
protected java.lang.Object |
setPropertyValue(java.lang.Object obj, DataBindingSource source, groovy.lang.MetaProperty metaProperty, java.lang.Object propertyValue, DataBindingListener listener) |
|
void |
setStructuredBindingEditors(TypedStructuredBindingEditor[] editors) |
|
void |
setValueConverters(ValueConverter[] converters) |
Methods inherited from class | Name |
---|---|
class SimpleDataBinder |
bind, bind, bind, bind, bind, bind, bind, setConversionService, getConversionService, setAutoGrowCollectionLimit, getAutoGrowCollectionLimit, registerConverter, getMetaClass, setMetaClass, invokeMethod, registerStructuredEditor, registerFormattedValueConverter, getINDEXED_PROPERTY_REGEX, setProperty, getProperty, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
obj
- any objectpropName
- the name of a property on obj