|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.formatter.Formatter
ariba.ui.validation.GenericChooser.FieldPathFormatter
public static class GenericChooser.FieldPathFormatter
Field Summary |
---|
Fields inherited from interface ariba.util.core.Compare |
---|
EqualTo, GreaterThan, LessThan |
Constructor Summary | |
---|---|
GenericChooser.FieldPathFormatter(java.lang.String fieldPathString,
java.lang.Object chainedFormatter)
|
Method Summary | |
---|---|
java.lang.Object |
getValue(java.lang.Object object,
java.util.Locale locale)
Returns an object of the appropriate type for this formatter based on the given object. |
Methods inherited from class ariba.util.formatter.Formatter |
---|
canFormatNulls, compare, compare, equal, equal, getFormat, getFormat, getFormatterClassForType, getFormatterForObject, getFormatterForType, getLocale, getStringValue, getStringValue, getValue, handlesNulls, isBidirectional, makeParseException, makeParseException, makeParseException, makeParseExceptionMessage, makeParseExceptionMessage, objectsAreEqual, objectsAreEqual, parse, parse, parseString, parseString, quickCompare, quickCompare, quickCompareValue, registerFormatter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericChooser.FieldPathFormatter(java.lang.String fieldPathString, java.lang.Object chainedFormatter)
Method Detail |
---|
public java.lang.Object getValue(java.lang.Object object, java.util.Locale locale)
Formatter
The type of the given object can by anything; it is up to each specific implementation to do the appropriate conversion, parsing, etc. to create a value of the appropriate type.
The return value may be null depending on the specific implementation for a given formatter.
Subclasses must define this method to provide type-specific conversion.
getValue
in class Formatter
object
- the object to convert to the type for this formatterlocale
- the locale used when converting the object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |