@Configurable public abstract class AbstractAqdResponseEncoder<T extends OwsServiceResponse> extends AbstractResponseEncoder<T>
| Constructor and Description |
|---|
AbstractAqdResponseEncoder(java.lang.String operation,
java.lang.Class<T> responseType) |
| Modifier and Type | Method and Description |
|---|---|
protected OwsServiceResponse |
changeResponseServiceVersion(OwsServiceResponse response) |
protected org.apache.xmlbeans.XmlObject |
encodeFes(EncodingContext context,
java.lang.Object o) |
protected org.apache.xmlbeans.XmlObject |
encodeFes(java.lang.Object o) |
protected org.apache.xmlbeans.XmlObject |
encodeGml(EncodingContext context,
java.lang.Object o) |
protected org.apache.xmlbeans.XmlObject |
encodeGml(java.lang.Object o) |
protected org.apache.xmlbeans.XmlObject |
encodeOws(EncodingContext context,
java.lang.Object o) |
protected org.apache.xmlbeans.XmlObject |
encodeOws(java.lang.Object o) |
protected org.apache.xmlbeans.XmlObject |
encodeSwe(EncodingContext context,
java.lang.Object o) |
protected org.apache.xmlbeans.XmlObject |
encodeSwe(java.lang.Object o) |
protected org.apache.xmlbeans.XmlObject |
encodeWithSosEncoder(T response) |
protected Encoder<java.lang.Object,OwsServiceResponse> |
getEncoder(OwsServiceResponse asr)
Get the
Encoder for the OwsServiceResponse and the
requested contentType |
protected EReportingHeader |
getEReportingHeader(ReportObligationType type) |
java.lang.String |
getEReportingNamespace() |
protected java.lang.String |
getEReportingObservationPrefix() |
protected java.lang.String |
getObservationId(int counter) |
protected java.lang.String |
getObservationXlink(java.lang.String gmlId) |
java.util.Set<SchemaLocation> |
getSchemaLocations() |
protected boolean |
isSetEReportingNamespace() |
protected boolean |
isSetEReportingObservationPrefix() |
protected void |
processObservation(OmObservation observation,
TimePeriod timePeriod,
TimeInstant resultTime,
FeatureCollection featureCollection,
AbstractEReportingHeader eReportingHeader,
int counter) |
void |
setEReportingNamespace(java.lang.String namespace) |
void |
setEReportingObservationPrefix(java.lang.String observationPrefix) |
void |
setReportObligationRepository(java.util.Optional<EReportObligationRepository> reportObligationRepository) |
encode, getKeysaddNamespacePrefixToMap, create, create, encode, encode, getConcreteSchemaLocations, getConcreteSchemaLocations, getResponseType, getSchemaRepository, setSchemaRepository, setValidateencodeObjectToXml, encodeObjectToXml, encodeObjectToXmlDocument, encodeObjectToXmlDocument, encodeObjectToXmlPropertyType, encodeObjectToXmlPropertyType, encodeObjectToXmlText, encodeObjectToXmlText, getAndCheck, getContentType, getDocumentEncoder, getDocumentEncoder, getDocumentEncoderKey, getDocumentEncoderKey, getEncoder, getEncoder, getEncoderKey, getEncoderKey, getPropertyTypeEncoder, getPropertyTypeEncoder, getPropertyTypeEncoderKey, getPropertyTypeEncoderKey, getXmlOptions, setXmlOptions, substitutegetEncoder, getEncoderRepository, setEncoderRepositoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencodegetContentType, getSupportedTypesgetConformanceClassespublic AbstractAqdResponseEncoder(java.lang.String operation,
java.lang.Class<T> responseType)
@Inject public void setReportObligationRepository(java.util.Optional<EReportObligationRepository> reportObligationRepository)
public java.util.Set<SchemaLocation> getSchemaLocations()
protected void processObservation(OmObservation observation, TimePeriod timePeriod, TimeInstant resultTime, FeatureCollection featureCollection, AbstractEReportingHeader eReportingHeader, int counter)
protected java.lang.String getObservationXlink(java.lang.String gmlId)
protected java.lang.String getObservationId(int counter)
public java.lang.String getEReportingNamespace()
@Setting(value="eReporting.namespace") public void setEReportingNamespace(java.lang.String namespace) throws ConfigurationError
ConfigurationErrorprotected boolean isSetEReportingNamespace()
@Setting(value="eReporting.observation.prefix") public void setEReportingObservationPrefix(java.lang.String observationPrefix) throws ConfigurationError
ConfigurationErrorprotected java.lang.String getEReportingObservationPrefix()
protected boolean isSetEReportingObservationPrefix()
protected EReportingHeader getEReportingHeader(ReportObligationType type) throws OwsExceptionReport, EncodingException
OwsExceptionReportEncodingExceptionprotected org.apache.xmlbeans.XmlObject encodeGml(java.lang.Object o)
throws EncodingException
EncodingExceptionprotected org.apache.xmlbeans.XmlObject encodeGml(EncodingContext context, java.lang.Object o) throws EncodingException
EncodingExceptionprotected org.apache.xmlbeans.XmlObject encodeOws(java.lang.Object o)
throws EncodingException
EncodingExceptionprotected org.apache.xmlbeans.XmlObject encodeOws(EncodingContext context, java.lang.Object o) throws EncodingException
EncodingExceptionprotected org.apache.xmlbeans.XmlObject encodeFes(java.lang.Object o)
throws EncodingException
EncodingExceptionprotected org.apache.xmlbeans.XmlObject encodeFes(EncodingContext context, java.lang.Object o) throws EncodingException
EncodingExceptionprotected org.apache.xmlbeans.XmlObject encodeSwe(java.lang.Object o)
throws EncodingException
EncodingExceptionprotected org.apache.xmlbeans.XmlObject encodeSwe(EncodingContext context, java.lang.Object o) throws EncodingException
EncodingExceptionprotected OwsServiceResponse changeResponseServiceVersion(OwsServiceResponse response)
protected Encoder<java.lang.Object,OwsServiceResponse> getEncoder(OwsServiceResponse asr)
Encoder for the OwsServiceResponse and the
requested contentTypeasr - OwsServiceResponse to get Encoder forEncoder for the OwsServiceResponseprotected org.apache.xmlbeans.XmlObject encodeWithSosEncoder(T response) throws EncodingException
EncodingExceptionCopyright © 2015–2019 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.