deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.feature.persistence
Class FeatureCoder

java.lang.Object
  extended by 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 $

Constructor Summary
FeatureCoder()
           
 
Method Summary
static Feature decode(InputStream is, ApplicationSchema schema, CRS crs, GMLReferenceResolver idResolver)
           
static void encode(Feature feature, OutputStream os, CRS crs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureCoder

public FeatureCoder()
Method Detail

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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>