List of usage examples for java.beans PropertyEditorSupport getValue
public Object getValue()
From source file:test.automation.operator.AbstractReflectionFormHandler.java
public Object getValueAsObject(final Field field, final String textValue) { // convert the Object into a string representation using a property editor. if (propertyEditors != null) { final PropertyEditorSupport propertyEditor = propertyEditors.get(field.getType()); if (propertyEditor != null) { propertyEditor.setAsText(textValue); return (propertyEditor.getValue()); }/* w ww . ja v a2 s .co m*/ } return (textValue); }