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