public class AqdGetObservationResponseEncoder extends AbstractAqdResponseEncoder<GetObservationResponse> implements StreamingDataEncoder
Constructor and Description |
---|
AqdGetObservationResponseEncoder() |
Modifier and Type | Method and Description |
---|---|
private TimePeriod |
addToFeatureCollectionAndGetTimePeriod(FeatureCollection featureCollection,
GetObservationResponse response,
EReportingHeader eReportingHeader) |
protected org.apache.xmlbeans.XmlObject |
create(GetObservationResponse response)
Create an
XmlObject from the AbstractServiceResponse
object |
protected void |
create(GetObservationResponse response,
OutputStream outputStream,
EncodingValues encodingValues)
Override this method in concrete response encoder if streaming is
supported for this operations.
|
boolean |
forceStreaming() |
protected Set<SchemaLocation> |
getConcreteSchemaLocations()
Get the concrete schema locations for this
AbstractServiceResponse encoder |
private FeatureCollection |
getFeatureCollection(GetObservationResponse response) |
private ReportObligationType |
getReportObligationType(GetObservationResponse response) |
changeResponseServiceVersion, encodeFes, encodeFes, encodeGml, encodeGml, encodeOws, encodeOws, encodeSwe, encodeSwe, encodeWithSosEncoder, getActiveProfile, getAqdHelper, getEncoder, getEncoder, getEReportingHeader, getSchemaLocations
addNamespacePrefixToMap, encode, encode, encode, encode, getEncoderKeyType, getResponseType, getXmlOptions, writeIndent
getConformanceClasses, getContentType, getSupportedTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentType, getSupportedTypes
getConformanceClasses
protected Set<SchemaLocation> getConcreteSchemaLocations()
AbstractResponseEncoder
AbstractServiceResponse
encodergetConcreteSchemaLocations
in class AbstractResponseEncoder<GetObservationResponse>
public boolean forceStreaming()
forceStreaming
in interface StreamingEncoder<org.apache.xmlbeans.XmlObject,GetObservationResponse>
forceStreaming
in class AbstractResponseEncoder<GetObservationResponse>
protected org.apache.xmlbeans.XmlObject create(GetObservationResponse response) throws OwsExceptionReport
AbstractResponseEncoder
XmlObject
from the AbstractServiceResponse
objectcreate
in class AbstractResponseEncoder<GetObservationResponse>
response
- AbstractServiceResponse
to encodeAbstractServiceResponse
OwsExceptionReport
- If an error occurs during the encodingprotected void create(GetObservationResponse response, OutputStream outputStream, EncodingValues encodingValues) throws OwsExceptionReport
AbstractResponseEncoder
create
in class AbstractResponseEncoder<GetObservationResponse>
response
- Implementation of AbstractServiceResponse
outputStream
- OutputStream
to writeencodingValues
- EncodingValues
with additional indicators for encodingOwsExceptionReport
- If an error occurs during encoding/writing to streamprivate ReportObligationType getReportObligationType(GetObservationResponse response) throws InvalidParameterValueException
InvalidParameterValueException
private TimePeriod addToFeatureCollectionAndGetTimePeriod(FeatureCollection featureCollection, GetObservationResponse response, EReportingHeader eReportingHeader)
private FeatureCollection getFeatureCollection(GetObservationResponse response) throws CodedException
CodedException
Copyright © 2012-2015 52north.org. All Rights Reserved.