T - the response typepublic abstract class AbstractResponseEncoder<T extends OwsServiceResponse> extends AbstractXmlResponseEncoder<T>
| Constructor and Description |
|---|
AbstractResponseEncoder(String service,
String version,
String operation,
String namespace,
String prefix,
Class<T> responseType)
constructor
|
AbstractResponseEncoder(String service,
String version,
String operation,
String namespace,
String prefix,
Class<T> responseType,
boolean validate)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(T response,
OutputStream outputStream,
EncodingContext context) |
Set<EncoderKey> |
getKeys() |
addNamespacePrefixToMap, 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, getSupportedTypesgetConformanceClassesgetSchemaLocationspublic AbstractResponseEncoder(String service, String version, String operation, String namespace, String prefix, Class<T> responseType, boolean validate)
service - Serviceversion - Service versionoperation - Service operation namenamespace - Service XML schema namespaceprefix - Service XML schema prefixresponseType - Response typevalidate - Indicator if the created/encoded object should be validatedpublic AbstractResponseEncoder(String service, String version, String operation, String namespace, String prefix, Class<T> responseType)
service - Serviceversion - Service versionoperation - Service operation namenamespace - Service XML schema namespaceprefix - Service XML schema prefixresponseType - Response typepublic Set<EncoderKey> getKeys()
public void encode(T response, OutputStream outputStream, EncodingContext context) throws EncodingException
EncodingExceptionCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.