|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springmodules.validation.valang.CustomPropertyEditor
public class CustomPropertyEditor
Container class to register a custom property editor. propertyEditor and requiredType properties are mandatory, propertyPath property is optional.
Constructor Summary | |
---|---|
CustomPropertyEditor()
|
Method Summary | |
---|---|
PropertyEditor |
getPropertyEditor()
Get custom property editor. |
String |
getPropertyPath()
Gets the property path (optional). |
Class |
getRequiredType()
Gets the required type. |
void |
setPropertyEditor(PropertyEditor propertyEditor)
Sets custom property editor. |
void |
setPropertyPath(String propertyPath)
Sets the property path (optional). |
void |
setRequiredType(Class requiredType)
Sets the required type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomPropertyEditor()
Method Detail |
---|
public PropertyEditor getPropertyEditor()
Get custom property editor.
public void setPropertyEditor(PropertyEditor propertyEditor)
Sets custom property editor.
propertyEditor
- custom property editorpublic String getPropertyPath()
Gets the property path (optional).
public void setPropertyPath(String propertyPath)
Sets the property path (optional).
propertyPath
- public Class getRequiredType()
Gets the required type.
public void setRequiredType(Class requiredType)
Sets the required type.
requiredType
- the required type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |