org.deegree.time.gml
Class GMLTimeReader
java.lang.Object
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:
TimeInstant (not implemented yet)
TimePeriod (not implemented yet)
TimeEdge (not implemented yet)
TimeNode (not implemented yet)
TimeTopologyComplex (not implemented yet)
- Version:
- $Revision: 31664 $, $Date: 2011-08-26 16:18:07 +0200 (Fri, 26 Aug 2011) $
- Author:
- Markus Schneider, last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMLTimeReader
public GMLTimeReader(GMLDocumentIdContext idContext)
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.
- Precondition: cursor must point at the
START_ELEMENT
event (<gml:AbstractTimeObject>)
- Postcondition: cursor points at the corresponding
END_ELEMENT
event
(</gml:AbstractTimeObject>)
GML 3.2.1 specifies the following elements to be directly substitutable for
gml:AbstractTimeObject
:
gml:AbstractTimePrimitive
gml:AbstractTimeComplex
- 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.