|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 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.
----------------------------------------------------------
Field Summary
static charDEFAULT_CS
static charDEFAULT_DECIMAL
static charDEFAULT_TS
Method Summary
java.lang.StringgetCoordinates()
returns the coordinates in the <coordinates> tag
chargetCoordinateSeperator()
return the character used as coordinate seperator
chargetDecimalSeperator()
return the character used as decimal seperator
chargetTupleSeperator()
return the character used as tuple seperator
voidsetCoordinates(java.lang.String coordinates)
sets the coordinates in the <coordinates> tag
voidsetCoordinateSeperator(char coordinateSeperator)
voidsetDecimalSeperator(char decimalSeperator)
voidsetTupleSeperator(char tupleSeperator)
Field Detail
DEFAULT_DECIMAL
public static final char DEFAULT_DECIMAL
DEFAULT_CS
public static final char DEFAULT_CS
DEFAULT_TS
public static final char DEFAULT_TS
Method Detail
getCoordinates
public java.lang.String getCoordinates()
setCoordinates
public void setCoordinates(java.lang.String coordinates)
getDecimalSeperator
public char getDecimalSeperator()
setDecimalSeperator
public void setDecimalSeperator(char decimalSeperator)
getDecimalSeperator()
getCoordinateSeperator
public char getCoordinateSeperator()
setCoordinateSeperator
public void setCoordinateSeperator(char coordinateSeperator)
getCoordinateSeperator()
getTupleSeperator
public char getTupleSeperator()
setTupleSeperator
public void setTupleSeperator(char tupleSeperator)
getTupleSeperator()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD