cgl.ogc.wms.gml_Impl
Class GMLCoordinates_Impl

java.lang.Object
  extended bycgl.ogc.wms.gml_Impl.GMLCoordinates_Impl
All Implemented Interfaces:
GMLCoordinates

public class GMLCoordinates_Impl
extends java.lang.Object
implements GMLCoordinates

Title:

Description:

Copyright: Copyright (c) 2005

Company: Indiana University - Computer Science Dept.

Version:
1.0
Author:
Ahmet Sayar

Field Summary
 
Fields inherited from interface cgl.ogc.wms.gml.GMLCoordinates
DEFAULT_CS, DEFAULT_DECIMAL, DEFAULT_TS
 
Constructor Summary
GMLCoordinates_Impl(org.w3c.dom.Element element)
          constructor: creates a GMLCoordinate with an element
 
Method Summary
static GMLCoordinates createGMLCoordinates(org.w3c.dom.Document doc, java.lang.String coordinates)
           
 org.w3c.dom.Element getAsElement()
          returns the GMLCoordinate as an element
 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)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GMLCoordinates_Impl

public GMLCoordinates_Impl(org.w3c.dom.Element element)
constructor: creates a GMLCoordinate with an element

Parameters:
element - Element
Method Detail

createGMLCoordinates

public static GMLCoordinates createGMLCoordinates(org.w3c.dom.Document doc,
                                                  java.lang.String coordinates)
Parameters:
doc - Document
coordinates - String
Returns:
GMLCoordinates

getAsElement

public org.w3c.dom.Element getAsElement()
returns the GMLCoordinate as an element

Returns:
Element

getCoordinates

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

Specified by:
getCoordinates in interface GMLCoordinates
Returns:
String

setCoordinates

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

Specified by:
setCoordinates in interface GMLCoordinates
Parameters:
coordinates - String

getDecimalSeperator

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

Specified by:
getDecimalSeperator in interface GMLCoordinates
Returns:
char

setDecimalSeperator

public void setDecimalSeperator(char decimalSeperator)
Specified by:
setDecimalSeperator in interface GMLCoordinates
Parameters:
decimalSeperator - char
See Also:
org.deegree_impl.gml.GMLCoordinates_Impl#getDecimalSeperator()

getCoordinateSeperator

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

Specified by:
getCoordinateSeperator in interface GMLCoordinates
Returns:
char

setCoordinateSeperator

public void setCoordinateSeperator(char coordinateSeperator)
Specified by:
setCoordinateSeperator in interface GMLCoordinates
Parameters:
coordinateSeperator - char
See Also:
org.deegree_impl.gml.GMLCoordinates_Impl#getCoordinateSeperator()

getTupleSeperator

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

Specified by:
getTupleSeperator in interface GMLCoordinates
Returns:
char

setTupleSeperator

public void setTupleSeperator(char tupleSeperator)
Specified by:
setTupleSeperator in interface GMLCoordinates
Parameters:
tupleSeperator - char
See Also:
org.deegree_impl.gml.GMLCoordinates_Impl#getTupleSeperator()

toString

public java.lang.String toString()
Returns:
String