org.geotoolkit.measure
Class RangeSymbols

Object
  extended by RangeSymbols
All Implemented Interfaces:
Cloneable

public class RangeSymbols
extends Object
implements Cloneable

Symbols used by RangeFormat when parsing and formatting a range.

Since:
3.06
Version:
3.06
Author:
Martin Desruisseaux (Geomatys)
See Also:
RangeFormat
Module:
utility/geotk-utility (download)    View source code for this class

Field Summary
 char closeExclusive
          The character closing a range in which the maximal value is exclusive.
 char closeExclusiveAlt
          An alternative character closing a range in which the maximal value is exclusive.
 char closeInclusive
          The character closing a range in which the maximal value is inclusive.
 char openExclusive
          The character opening a range in which the minimal value is exclusive.
 char openExclusiveAlt
          An alternative character opening a range in which the minimal value is exclusive.
 char openInclusive
          The character opening a range in which the minimal value is inclusive.
 String separator
          The string to use as a separator between minimal and maximal value, not including whitespaces.
 
Constructor Summary
RangeSymbols()
          Creates a new set of range symbols initialized to their default values.
 
Method Summary
 RangeSymbols clone()
          Returns a clone of this set of symbols.
 
Methods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

openInclusive

public char openInclusive
The character opening a range in which the minimal value is inclusive. The default value is '['.


openExclusive

public char openExclusive
The character opening a range in which the minimal value is exclusive. The default value is '('. Note that the ']' character is also sometime used.


openExclusiveAlt

public char openExclusiveAlt
An alternative character opening a range in which the minimal value is exclusive. This character is not used for formatting (only openExclusive is used), but is accepted during parsing. The default value is ']'.


closeInclusive

public char closeInclusive
The character closing a range in which the maximal value is inclusive. The default value is ']'.


closeExclusive

public char closeExclusive
The character closing a range in which the maximal value is exclusive. The default value is ')'. Note that the '[' character is also sometime used.


closeExclusiveAlt

public char closeExclusiveAlt
An alternative character closing a range in which the maximal value is exclusive. This character is not used for formatting (only closeExclusive is used), but is accepted during parsing. The default value is '['.


separator

public String separator
The string to use as a separator between minimal and maximal value, not including whitespaces. The default value is "…" (unicode 2026).

Constructor Detail

RangeSymbols

public RangeSymbols()
Creates a new set of range symbols initialized to their default values.

Method Detail

clone

public RangeSymbols clone()
Returns a clone of this set of symbols.

Overrides:
clone in class Object
Returns:
A copy of this object.
See Also:
Object.clone()


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.