org.deegree.feature.persistence
Class FeatureCoder
java.lang.Object
org.deegree.feature.persistence.FeatureCoder
public class FeatureCoder
- extends Object
Provides methods for storing / retrieving single Feature
instances in binary form.
TODO implement efficient binary format (instead of GML)
- Version:
- $Revision: 21516 $, $Date: 2009-12-17 10:10:00 +0100 (Do, 17 Dez 2009) $
- 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 |
FeatureCoder
public FeatureCoder()
encode
public static void encode(Feature feature,
OutputStream os,
CRS crs)
throws FeatureStoreException,
XMLStreamException,
FactoryConfigurationError,
UnknownCRSException,
TransformationException,
IOException
- Parameters:
feature
- os
- crs
-
- Throws:
FeatureStoreException
XMLStreamException
FactoryConfigurationError
UnknownCRSException
TransformationException
IOException
decode
public static Feature decode(InputStream is,
ApplicationSchema schema,
CRS crs,
GMLReferenceResolver idResolver)
throws XMLParsingException,
XMLStreamException,
UnknownCRSException,
FactoryConfigurationError,
IOException
- Parameters:
is
- schema
- crs
- idResolver
-
- Returns:
-
- Throws:
XMLParsingException
XMLStreamException
UnknownCRSException
FactoryConfigurationError
IOException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>