org.deegree.time.gml
Class GMLTimeReader

java.lang.Object
  extended by org.deegree.time.gml.GMLTimeReader

public class GMLTimeReader
extends Object

Parser for temporal and temporal-related constructs from the GML 3 specification series (3.0/3.1/3.2).

Supports the following temporal elements:

Version:
$Revision: 31664 $, $Date: 2011-08-26 16:18:07 +0200 (Fri, 26 Aug 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
GMLTimeReader(GMLDocumentIdContext idContext)
           
 
Method Summary
 boolean isTimeObject(QName name)
           
 TimeComplex readTimeComplex(XMLStreamReader xmlStream)
           
 TimePrimitive readTimeEdge(XMLStreamReader xmlStream)
           
 TimeGeometricPrimitive readTimeGeometricPrimitive(XMLStreamReader xmlStream)
           
 TimeInstant readTimeInstant(XMLStreamReader xmlStream)
           
 TimePrimitive readTimeNode(XMLStreamReader xmlStream)
           
 TimeObject readTimeObject(XMLStreamReader xmlStream)
          Returns the object representation for the given gml:AbstractTimeObject element event that the cursor of the given XMLStreamReader points at.
 TimePeriod readTimePeriod(XMLStreamReader xmlStream)
           
 TimePrimitive readTimePrimitive(XMLStreamReader xmlStream)
           
 TimeTopologyComplex readTimeTopologyComplex(XMLStreamReader xmlStream)
           
 TimePrimitive readTimeTopologyPrimitive(XMLStreamReader xmlStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMLTimeReader

public GMLTimeReader(GMLDocumentIdContext idContext)
Method Detail

isTimeObject

public boolean isTimeObject(QName name)

readTimeObject

public TimeObject readTimeObject(XMLStreamReader xmlStream)
Returns the object representation for the given gml:AbstractTimeObject element event that the cursor of the given XMLStreamReader points at.

GML 3.2.1 specifies the following elements to be directly substitutable for gml:AbstractTimeObject:

Parameters:
xmlStream - cursor must point at the START_ELEMENT event (<gml:AbstractTimeObject>), points at the corresponding END_ELEMENT event (</gml:AbstractTimeObject>) afterwards
Returns:
corresponding TimeObject object
Throws:
XMLParsingException - if the element is not a valid "gml:_Geometry" element
XMLStreamException
UnknownCRSException

readTimePrimitive

public TimePrimitive readTimePrimitive(XMLStreamReader xmlStream)

readTimeGeometricPrimitive

public TimeGeometricPrimitive readTimeGeometricPrimitive(XMLStreamReader xmlStream)

readTimeInstant

public TimeInstant readTimeInstant(XMLStreamReader xmlStream)

readTimePeriod

public TimePeriod readTimePeriod(XMLStreamReader xmlStream)

readTimeTopologyPrimitive

public TimePrimitive readTimeTopologyPrimitive(XMLStreamReader xmlStream)

readTimeEdge

public TimePrimitive readTimeEdge(XMLStreamReader xmlStream)

readTimeNode

public TimePrimitive readTimeNode(XMLStreamReader xmlStream)

readTimeComplex

public TimeComplex readTimeComplex(XMLStreamReader xmlStream)

readTimeTopologyComplex

public TimeTopologyComplex readTimeTopologyComplex(XMLStreamReader xmlStream)


Copyright © 2011. All Rights Reserved.