org.deegree.gml
Interface GMLCoordinates

All Known Implementing Classes:
GMLCoordinates_Impl

public interface GMLCoordinates

As an alternative to the sequence of <coords>, coordinates can also be conveyed by a single string. By default the coordinates in a tuple are separated by commas, and successive tuples are separated by a space character (#x20). While these delimiters are specified by several attributes, a user is free to define a localized coordinates list that is derived by restriction from gml:CoordinatesType. An instance document could then employ the xsi:type attribute to substitute the localized coordinates list wherever a element is expected; such a subtype could employ other delimiters to reflect local usage.

It is expected that a specialized client application will extract and validate string content, as these functions will not be performed by a general XML parser. The formatting attributes will assume their default values if they are not specified for a particular instance; the <coordinates> element must conform to the XML Schema fragments.

----------------------------------------------------------

Version:
07.02.2001

Author:
Andreas Poth

Field Summary
static char DEFAULT_CS
           
static char DEFAULT_DECIMAL
           
static char DEFAULT_TS
           
 
Method Summary
 java.lang.String getCoordinates()
          returns the coordinates in the <coordinates> tag
 char getCoordinateSeperator()
          return the character used as coordinate seperator
 char getDecimalSeperator()
          return the character used as decimal seperator
 char getTupleSeperator()
          return the character used as tuple seperator
 void setCoordinates(java.lang.String coordinates)
          sets the coordinates in the <coordinates> tag
 void setCoordinateSeperator(char coordinateSeperator)
           
 void setDecimalSeperator(char decimalSeperator)
           
 void setTupleSeperator(char tupleSeperator)
           
 

Field Detail

DEFAULT_DECIMAL

public static final char DEFAULT_DECIMAL
See Also:
Constant Field Values

DEFAULT_CS

public static final char DEFAULT_CS
See Also:
Constant Field Values

DEFAULT_TS

public static final char DEFAULT_TS
See Also:
Constant Field Values
Method Detail

getCoordinates

public java.lang.String getCoordinates()
returns the coordinates in the <coordinates> tag


setCoordinates

public void setCoordinates(java.lang.String coordinates)
sets the coordinates in the <coordinates> tag


getDecimalSeperator

public char getDecimalSeperator()
return the character used as decimal seperator


setDecimalSeperator

public void setDecimalSeperator(char decimalSeperator)
See Also:
getDecimalSeperator()

getCoordinateSeperator

public char getCoordinateSeperator()
return the character used as coordinate seperator


setCoordinateSeperator

public void setCoordinateSeperator(char coordinateSeperator)
See Also:
getCoordinateSeperator()

getTupleSeperator

public char getTupleSeperator()
return the character used as tuple seperator


setTupleSeperator

public void setTupleSeperator(char tupleSeperator)
See Also:
getTupleSeperator()