|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.eff.format.AbstractEffFormat
wt.eff.format.UnitEffFormat
wt.eff.format.DefaultUnitEffFormat
public class DefaultUnitEffFormat
This format represents the default format for unit effectivity statements
if no other effectivity format is supplied and thus acts like a placeholder.
Since it is unaware of the actual format of effectivity statements, it
provides rudimentary implementations of the various format-related operations.
This format accepts the following configurable parameters:
UnitEffFormat,
EffFormat,
EffFormatService,
Serialized Form| Method Summary | |
|---|---|
int |
compareRangeValues(String leftValue,
String rightValue,
EffState state,
Map<String,String> formatParams)
This operation uses the java.lang.String's compareTo() method for implementing comparisons, which performs a lexicographical comparison based on the Unicode value of each character in the strings. |
String |
getDisplayDescription(Locale locale)
Supported API: true |
String |
getDisplayName(Locale locale)
Supported API: true |
String |
validateRangeValue(String rangeValue,
EffState state,
Map<String,String> formatParams,
boolean isStartRange)
Supported API: true |
| Methods inherited from class wt.eff.format.AbstractEffFormat |
|---|
addToRangeValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getDisplayName(Locale locale)
getDisplayName in interface EffFormatlocale -
wt.eff.format#getDisplayDescription()public String getDisplayDescription(Locale locale)
getDisplayDescription in interface EffFormatlocale -
wt.eff.format#getDisplayName()
public String validateRangeValue(String rangeValue,
EffState state,
Map<String,String> formatParams,
boolean isStartRange)
validateRangeValue in interface EffFormatrangeValue - state - formatParams - isStartRange -
public int compareRangeValues(String leftValue,
String rightValue,
EffState state,
Map<String,String> formatParams)
throws EffFormatException
String.compareTo(String) for more
details of the comparison algorithm.
compareRangeValues in interface EffFormatleftValue - rightValue - state - formatParams -
EffFormatExceptionString.compareTo(String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||