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 |
private org.w3c.dom.Element |
element
|
|
Constructor Summary |
GMLCoordinates_Impl(org.w3c.dom.Element element)
constructor: creates a GMLCoordinate with an element |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
element
private org.w3c.dom.Element element
GMLCoordinates_Impl
public GMLCoordinates_Impl(org.w3c.dom.Element element)
- constructor: creates a GMLCoordinate with an element
createGMLCoordinates
public static GMLCoordinates createGMLCoordinates(org.w3c.dom.Document doc,
java.lang.String coordinates)
- Parameters:
doc - coordinates -
- Returns:
getAsElement
public org.w3c.dom.Element getAsElement()
- returns the GMLCoordinate as an element
getCoordinates
public java.lang.String getCoordinates()
- returns the coordinates in the <coordinates> tag
- Specified by:
getCoordinates in interface GMLCoordinates
setCoordinates
public void setCoordinates(java.lang.String coordinates)
- sets the coordinates in the <coordinates> tag
- Specified by:
setCoordinates in interface GMLCoordinates
getDecimalSeperator
public char getDecimalSeperator()
- return the character used as decimal seperator
- Specified by:
getDecimalSeperator in interface GMLCoordinates
setDecimalSeperator
public void setDecimalSeperator(char decimalSeperator)
- Specified by:
setDecimalSeperator in interface GMLCoordinates
- See Also:
getDecimalSeperator()
getCoordinateSeperator
public char getCoordinateSeperator()
- return the character used as coordinate seperator
- Specified by:
getCoordinateSeperator in interface GMLCoordinates
setCoordinateSeperator
public void setCoordinateSeperator(char coordinateSeperator)
- Specified by:
setCoordinateSeperator in interface GMLCoordinates
- See Also:
getCoordinateSeperator()
getTupleSeperator
public char getTupleSeperator()
- return the character used as tuple seperator
- Specified by:
getTupleSeperator in interface GMLCoordinates
setTupleSeperator
public void setTupleSeperator(char tupleSeperator)
- Specified by:
setTupleSeperator in interface GMLCoordinates
- See Also:
getTupleSeperator()
toString
public java.lang.String toString()
- Returns: