@Named(value="org.jbpm.formModeler.core.processing.fieldHandlers.NumericFieldHandler") public class NumericFieldHandler extends DefaultFieldHandler
Modifier and Type | Class and Description |
---|---|
class |
NumericFieldHandler.EmptyNumberException |
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_MAX_VALUE |
Constructor and Description |
---|
NumericFieldHandler() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
buildParamValue(Object value,
String pattern)
Builds a correct paramValue for a given inputValue.
|
String[] |
getCompatibleClassNames()
Determine the list of class types this field can generate.
|
Map |
getParamValue(Field field,
String inputName,
Object objectValue) |
Object |
getTheValue(Field field,
String[] paramValue,
String desiredClassName) |
Object |
getValue(Field field,
String inputName,
Map parametersMap,
Map filesMap,
String desiredClassName,
Object previousValue)
Read a parameter value (normally from a request), and translate it to
an object with desired class (that must be one of the returned by this handler)
|
boolean |
isEmpty(Object value) |
getFieldHandlersManager, getFieldPattern, getFieldTypeManager, getFormManager, getFormProcessor, getFormStatusManager, getFunctionsProvider, getNamespaceManager, getReplacementManager
getFieldName, getPageToIncludeForDisplaying, getPageToIncludeForRendering
public static final boolean DEFAULT_MAX_VALUE
public Object getValue(Field field, String inputName, Map parametersMap, Map filesMap, String desiredClassName, Object previousValue) throws Exception
Exception
public Object getTheValue(Field field, String[] paramValue, String desiredClassName) throws Exception
Exception
protected String[] buildParamValue(Object value, String pattern)
value
- Object value to build its paramValuepattern
- pattern to apply if anypublic String[] getCompatibleClassNames()
public boolean isEmpty(Object value)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.