Package org.n52.svalbard.encode
Class AbstractSwesRequestEncoder<T extends OwsServiceRequest>
- java.lang.Object
-
- org.n52.svalbard.encode.AbstractDelegatingEncoder<T,S>
-
- org.n52.svalbard.encode.AbstractXmlEncoder<org.apache.xmlbeans.XmlObject,T>
-
- org.n52.svalbard.encode.AbstractXmlResponseEncoder<T>
-
- org.n52.svalbard.encode.AbstractRequestEncoder<T>
-
- org.n52.svalbard.encode.AbstractSwesRequestEncoder<T>
-
- Type Parameters:
T- the request type
- All Implemented Interfaces:
Component<EncoderKey>,Keyed<EncoderKey>,ConformanceClass,Encoder<org.apache.xmlbeans.XmlObject,T>,SchemaAwareEncoder<org.apache.xmlbeans.XmlObject,T>,StreamingEncoder<org.apache.xmlbeans.XmlObject,T>
- Direct Known Subclasses:
DescribeSensorV2RequestEncoder,InsertObservationRequestEncoder,InsertResultRequestEncoder,InsertResultTemplateRequestEncoder,InsertSensorRequestEncoder
public abstract class AbstractSwesRequestEncoder<T extends OwsServiceRequest> extends AbstractRequestEncoder<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractSwesRequestEncoder(String operation, Class<T> responseType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddExtension(OwsServiceRequest request, net.opengis.swes.x20.ExtensibleRequestType extensibleRequestType)protected Set<SchemaLocation>getConcreteSchemaLocations()Get the concrete schema locations for thisOwsServiceResponseencoderprotected voidvalidateInput(T request)-
Methods inherited from class org.n52.svalbard.encode.AbstractRequestEncoder
encode, getKeys
-
Methods inherited from class org.n52.svalbard.encode.AbstractXmlResponseEncoder
addNamespacePrefixToMap, create, create, encode, encode, getConcreteSchemaLocations, getResponseType, getSchemaRepository, setSchemaRepository, setValidate
-
Methods 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, substitute
-
Methods inherited from class org.n52.svalbard.encode.AbstractDelegatingEncoder
getEncoder, getEncoderRepository, setEncoderRepository
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.svalbard.ConformanceClass
getConformanceClasses
-
Methods inherited from interface org.n52.svalbard.encode.Encoder
getContentType, getSupportedTypes
-
Methods inherited from interface org.n52.svalbard.encode.SchemaAwareEncoder
getSchemaLocations
-
Methods inherited from interface org.n52.svalbard.encode.StreamingEncoder
encode
-
-
-
-
Method Detail
-
addExtension
protected void addExtension(OwsServiceRequest request, net.opengis.swes.x20.ExtensibleRequestType extensibleRequestType) throws EncodingException
- Throws:
EncodingException
-
getConcreteSchemaLocations
protected Set<SchemaLocation> getConcreteSchemaLocations()
Description copied from class:AbstractXmlResponseEncoderGet the concrete schema locations for thisOwsServiceResponseencoder- Specified by:
getConcreteSchemaLocationsin classAbstractXmlResponseEncoder<T extends OwsServiceRequest>- Returns:
- the concrete schema locations
-
validateInput
protected void validateInput(T request) throws UnsupportedEncoderInputException
- Throws:
UnsupportedEncoderInputException
-
-