|
|||||||||||
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 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
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