deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcbase
Class GMLDocument

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.ogcbase.GMLDocument
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GMLFeatureDocument

public class GMLDocument
extends XMLFragment

Since:
1.1
Version:
$Revision: 24395 $, 1.0. $Revision: 24395 $, $Date: 2010-05-17 09:34:13 +0200 (Mo, 17 Mai 2010) $
Author:
Andreas Poth, last edited by: $Author: apoth $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
GMLDocument()
           
 
Method Summary
static Envelope parseEnvelope(org.w3c.dom.Element element)
          creates a Envelope from the passed element.
static Grid parseGrid(org.w3c.dom.Element element)
          creates a Grid instance from the passed Element
static Point parsePos(org.w3c.dom.Element element)
          creates a Point from the passed element containing a GML pos.
static TimePosition parseTimePosition(org.w3c.dom.Element element)
          creates a TimePosition object from the passed element.
 
Methods inherited from class org.deegree.framework.xml.XMLFragment
getAsPrettyString, getAsString, getAttachedSchemas, getQualifiedName, getRootElement, getSystemId, hasSchema, load, load, load, parseQualifiedName, parseSimpleLink, prettyPrint, prettyPrint, resolve, setRootElement, setSystemId, setSystemId, toString, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GMLDocument

public GMLDocument()
Method Detail

parsePos

public static Point parsePos(org.w3c.dom.Element element)
                      throws InvalidGMLException
creates a Point from the passed element containing a GML pos.

Parameters:
element -
Returns:
created Point
Throws:
InvalidGMLException

parseEnvelope

public static Envelope parseEnvelope(org.w3c.dom.Element element)
                              throws InvalidGMLException,
                                     UnknownCRSException
creates a Envelope from the passed element. Because deegree geometry implementation doesn't use CRS for envelopes the srsName attribute of the passed element is ignored.

Parameters:
element -
Returns:
created Envelope
Throws:
InvalidGMLException
UnknownCRSException

parseTimePosition

public static TimePosition parseTimePosition(org.w3c.dom.Element element)
                                      throws XMLParsingException,
                                             InvalidGMLException
creates a TimePosition object from the passed element.

Parameters:
element -
Returns:
created TimePosition
Throws:
XMLParsingException
InvalidGMLException

parseGrid

public static Grid parseGrid(org.w3c.dom.Element element)
                      throws InvalidGMLException
creates a Grid instance from the passed Element

Parameters:
element -
Returns:
instance of Grid
Throws:
InvalidGMLException

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org