org.deegree.gml
Class GMLInputFactory
java.lang.Object
org.deegree.gml.GMLInputFactory
public class GMLInputFactory
- extends Object
Factory for creating GMLStreamReader
instances.
- Version:
- $Revision: 21399 $, $Date: 2009-12-10 22:12:04 +0100 (Do, 10 Dez 2009) $
- 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 null
xmlStream
- 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 null
url
- URL used to read the input, must not be null
- Returns:
- initialized
GMLStreamReader
- Throws:
IOException
FactoryConfigurationError
XMLStreamException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>