Package org.apache.sis.measure
Class RangeFormat.Field
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- RangeFormat
Constants that are used as attribute keys in the iterator returned from
 
RangeFormat.formatToCharacterIterator(Object).- Since:
- 0.3
- See Also:
Defined in the sis-utility module
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final RangeFormat.FieldIdentifies the maximal value field in a range.static final RangeFormat.FieldIdentifies the minimal value field in a range.static final RangeFormat.FieldIdentifies the unit field in a range, if any.Fields inherited from class AttributedCharacterIterator.AttributeINPUT_METHOD_SEGMENT, LANGUAGE, READING
- 
Method SummaryModifier and TypeMethodDescriptionprotected final ObjectInvoked on deserialization for resolving this instance to one of the predefined constants.Methods inherited from class AttributedCharacterIterator.Attributeequals, getName, hashCode, toString
- 
Field Details- 
MIN_VALUEIdentifies the minimal value field in a range. When formatting a string, this value may be specified to theFieldPositionconstructor in order to get the bounding index where the minimal value has been written.
- 
MAX_VALUEIdentifies the maximal value field in a range. When formatting a string, this value may be specified to theFieldPositionconstructor in order to get the bounding index where the maximal value has been written.
- 
UNITIdentifies the unit field in a range, if any. When formatting a string, this value may be specified to theFieldPositionconstructor in order to get the bounding index where the unit has been written.
 
- 
- 
Method Details- 
readResolveInvoked on deserialization for resolving this instance to one of the predefined constants.- Overrides:
- readResolvein class- AttributedCharacterIterator.Attribute
- Returns:
- one of the predefined constants.
- Throws:
- InvalidObjectException- if this instance cannot be resolved.
 
 
-