org.deegree.gml
Class GMLInputFactory
java.lang.Object
org.deegree.gml.GMLInputFactory
public class GMLInputFactory
- extends Object
Factory for creating GMLStreamReader instances.
- Version:
- $Revision: 31639 $, $Date: 2011-08-24 21:02:10 +0200 (Wed, 24 Aug 2011) $
- Author:
- Markus Schneider, last edited by: $Author: mschneider $
- See Also:
GMLObject,
GMLStreamReader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMLInputFactory
public GMLInputFactory()
createGMLStreamReader
public static GMLStreamReader createGMLStreamReader(GMLVersion version,
XMLStreamReader xmlStream)
throws XMLStreamException
- Creates a new
GMLStreamReader instance for reading GML of the specified version.
- Parameters:
version - GML version, must not be nullxmlStream - XML stream used to read the input, must not be null and either point to a
START_DOCUMENT event or a START_ELEMENT event of a GML object element
- Returns:
- initialized
GMLStreamReader
- Throws:
XMLStreamException
createGMLStreamReader
public static GMLStreamReader createGMLStreamReader(GMLVersion version,
URL url)
throws XMLStreamException,
FactoryConfigurationError,
IOException
- Creates a new
GMLStreamReader instance for reading GML of the specified version.
- Parameters:
version - GML version, must not be nullurl - URL used to read the input, must not be null
- Returns:
- initialized
GMLStreamReader
- Throws:
IOException
FactoryConfigurationError
XMLStreamException
Copyright © 2011. All Rights Reserved.