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: 6817 $, 1.0. $Revision: 6817 $, $Date: 2007-05-04 15:53:12 +0200 (Fr, 04 Mai 2007) $
 
- 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:
 XMLParsingException
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:
 XMLParsingException
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:
 XMLParsingException
InvalidGMLException
 
 
				an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net