org.deegree.gml.props
Class GMLStdPropsReader
java.lang.Object
org.deegree.gml.props.GMLStdPropsReader
public class GMLStdPropsReader
- extends Object
Stream-based reader for the GMLStdProps
that can occur at the beginning of every GML encoded object.
- Version:
- $Revision: 31639 $, $Date: 2011-08-24 21:02:10 +0200 (Wed, 24 Aug 2011) $
- Author:
- Markus Schneider, last edited by: $Author: mschneider $
Method Summary |
GMLStdProps |
read(XMLStreamReader xmlStream)
Returns the object representation for the StandardObjectProperties element group of the given
gml:_GML element event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMLStdPropsReader
public GMLStdPropsReader(GMLVersion version)
- Creates a new
GMLStdPropsReader
for the specified GML version.
- Parameters:
version
- GML version, must not be null
read
public GMLStdProps read(XMLStreamReader xmlStream)
throws XMLStreamException
- Returns the object representation for the
StandardObjectProperties
element group of the given
gml:_GML
element event.
- Precondition: cursor must point at the
START_ELEMENT
event (<gml:_GML>)
- Postcondition: cursor points at the first tag event (
START_ELEMENT/END_ELEMENT
) that does not
belong to an element from the StandardObjectProperties
group
- Parameters:
xmlStream
- cursor must point at the START_ELEMENT
event (<gml:_GML>), points at the at the
first tag event (START_ELEMENT/END_ELEMENT
) that does not belong to an element from the
StandardObjectProperties
group afterwards
- Returns:
- corresponding
GMLStdProps
object, never null
- Throws:
XMLStreamException
Copyright © 2011. All Rights Reserved.