Package org.n52.svalbard.encode
Class AqdGetObservationResponseEncoder
java.lang.Object
org.n52.svalbard.encode.AbstractDelegatingEncoder<org.apache.xmlbeans.XmlObject,GetObservationResponse>
org.n52.svalbard.encode.AbstractXmlEncoder<org.apache.xmlbeans.XmlObject,GetObservationResponse>
org.n52.svalbard.encode.AbstractXmlResponseEncoder<GetObservationResponse>
org.n52.svalbard.encode.AbstractResponseEncoder<GetObservationResponse>
org.n52.svalbard.encode.AbstractAqdResponseEncoder<GetObservationResponse>
org.n52.svalbard.encode.AqdGetObservationResponseEncoder
- All Implemented Interfaces:
Component<EncoderKey>,Keyed<EncoderKey>,ConformanceClass,Encoder<org.apache.xmlbeans.XmlObject,,GetObservationResponse> SchemaAwareEncoder<org.apache.xmlbeans.XmlObject,,GetObservationResponse> StreamingEncoder<org.apache.xmlbeans.XmlObject,GetObservationResponse>
public class AqdGetObservationResponseEncoder
extends AbstractAqdResponseEncoder<GetObservationResponse>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.xmlbeans.XmlObjectcreate(GetObservationResponse response) Create anXmlObjectfrom theOwsServiceResponseobjectprotected voidcreate(GetObservationResponse response, OutputStream outputStream, EncodingContext ctx) Override this method in concrete response encoder if streaming is supported for this operations.protected Set<SchemaLocation> Get the concrete schema locations for thisOwsServiceResponseencoderMethods inherited from class org.n52.svalbard.encode.AbstractAqdResponseEncoder
changeResponseServiceVersion, encodeFes, encodeFes, encodeGml, encodeGml, encodeOws, encodeOws, encodeSwe, encodeSwe, encodeWithSosEncoder, getEncoder, getEReportingHeader, getEReportingNamespace, getEReportingObservationPrefix, getObservationId, getObservationXlink, getSchemaLocations, isSetEReportingNamespace, isSetEReportingObservationPrefix, processObservation, setEReportingNamespace, setEReportingObservationPrefix, setReportObligationRepositoryMethods inherited from class org.n52.svalbard.encode.AbstractResponseEncoder
encode, getKeysMethods inherited from class org.n52.svalbard.encode.AbstractXmlResponseEncoder
addNamespacePrefixToMap, encode, encode, getConcreteSchemaLocations, getResponseType, getSchemaRepository, setSchemaRepository, setValidateMethods inherited from class org.n52.svalbard.encode.AbstractXmlEncoder
encodeObjectToXml, encodeObjectToXml, encodeObjectToXmlDocument, encodeObjectToXmlDocument, encodeObjectToXmlPropertyType, encodeObjectToXmlPropertyType, encodeObjectToXmlText, encodeObjectToXmlText, getAndCheck, getContentType, getDocumentEncoder, getDocumentEncoder, getDocumentEncoderKey, getDocumentEncoderKey, getEncoder, getEncoder, getEncoderKey, getEncoderKey, getPropertyTypeEncoder, getPropertyTypeEncoder, getPropertyTypeEncoderKey, getPropertyTypeEncoderKey, getXmlOptions, setXmlOptions, substituteMethods inherited from class org.n52.svalbard.encode.AbstractDelegatingEncoder
getEncoder, getEncoderRepository, setEncoderRepositoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.svalbard.ConformanceClass
getConformanceClassesMethods inherited from interface org.n52.svalbard.encode.Encoder
getContentType, getSupportedTypesMethods inherited from interface org.n52.svalbard.encode.StreamingEncoder
encode
-
Constructor Details
-
AqdGetObservationResponseEncoder
public AqdGetObservationResponseEncoder()
-
-
Method Details
-
getConcreteSchemaLocations
Description copied from class:AbstractXmlResponseEncoderGet the concrete schema locations for thisOwsServiceResponseencoder- Specified by:
getConcreteSchemaLocationsin classAbstractXmlResponseEncoder<GetObservationResponse>- Returns:
- the concrete schema locations
-
create
protected org.apache.xmlbeans.XmlObject create(GetObservationResponse response) throws EncodingException Description copied from class:AbstractXmlResponseEncoderCreate anXmlObjectfrom theOwsServiceResponseobject- Specified by:
createin classAbstractXmlResponseEncoder<GetObservationResponse>- Parameters:
response-OwsServiceResponseto encode- Returns:
- XML encoded
OwsServiceResponse - Throws:
EncodingException- If an error occurs during the encoding
-
create
protected void create(GetObservationResponse response, OutputStream outputStream, EncodingContext ctx) throws EncodingException Description copied from class:AbstractXmlResponseEncoderOverride this method in concrete response encoder if streaming is supported for this operations.- Overrides:
createin classAbstractXmlResponseEncoder<GetObservationResponse>- Parameters:
response- Implementation ofOwsServiceResponseoutputStream-OutputStreamto writectx-EncodingContextwith additional indicators for encoding- Throws:
EncodingException- If an error occurs during encoding/writing to stream
-