org.deegree.ogcbase
Class GMLDocument
java.lang.Object
  
org.deegree.framework.xml.XMLFragment
      
org.deegree.ogcbase.GMLDocument
- All Implemented Interfaces: 
 - 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 (Mon, 17 May 2010) $
 
- Author:
 
  - Andreas Poth, last edited by: $Author: apoth $
 
- See Also:
 - Serialized Form
 
 
 
 
 
| 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 | 
 
 
GMLDocument
public GMLDocument()
parsePos
public static Point parsePos(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(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(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(Element element)
                      throws InvalidGMLException
- creates a Grid instance from the passed Element
- Parameters:
 element - 
- Returns:
 - instance of Grid
 - Throws:
 InvalidGMLException
 
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org