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: 21659 $, $Date: 2009-12-23 14:29:54 +0100 (Mi, 23 Dez 2009) $
- 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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>