@Consumes(value={"text/xml","application/xml"}) @Provider public class FeatureCollectionMessageBodyReaderWfs10 extends Object implements javax.ws.rs.ext.MessageBodyReader<WfsFeatureCollection>
Modifier and Type | Field and Description |
---|---|
protected FeatureCollectionConverterWfs10 |
featureCollectionConverter |
protected Map<String,FeatureConverter> |
featureConverterMap |
protected com.thoughtworks.xstream.XStream |
xstream |
Constructor and Description |
---|
FeatureCollectionMessageBodyReaderWfs10() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> clazz,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
WfsFeatureCollection |
readFrom(Class<WfsFeatureCollection> clazz,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream inStream) |
void |
registerConverter(FeatureConverter converter) |
protected com.thoughtworks.xstream.XStream xstream
protected FeatureCollectionConverterWfs10 featureCollectionConverter
protected Map<String,FeatureConverter> featureConverterMap
public FeatureCollectionMessageBodyReaderWfs10()
public boolean isReadable(Class<?> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<WfsFeatureCollection>
public WfsFeatureCollection readFrom(Class<WfsFeatureCollection> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream inStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<WfsFeatureCollection>
IOException
javax.ws.rs.WebApplicationException
public void registerConverter(FeatureConverter converter)
This work is licensed under a Creative Commons Attribution 4.0 International License.