public class SwesExtensionDecoderv20 extends Object implements Decoder<SwesExtension<?>,org.apache.xmlbeans.XmlObject>
Modifier and Type | Field and Description |
---|---|
private static Set<DecoderKey> |
DECODER_KEYS |
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
SwesExtensionDecoderv20() |
Modifier and Type | Method and Description |
---|---|
SwesExtension<?> |
decode(org.apache.xmlbeans.XmlObject xmlObject)
Decode a object to another representation.
|
Set<String> |
getConformanceClasses() |
Set<DecoderKey> |
getDecoderKeyTypes() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
Get the ServiceConstants.SupportedTypeKey in the case of having only generic
java types, e.g.
|
private boolean |
isSweAbstractDataComponent(Object xmlObj) |
private boolean |
isSwesExtension(org.apache.xmlbeans.XmlObject xmlObject) |
private static final org.slf4j.Logger LOGGER
private static final Set<DecoderKey> DECODER_KEYS
public Set<DecoderKey> getDecoderKeyTypes()
getDecoderKeyTypes
in interface Decoder<SwesExtension<?>,org.apache.xmlbeans.XmlObject>
DecoderKey
) is able to decodepublic Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Decoder
getSupportedTypes
in interface Decoder<SwesExtension<?>,org.apache.xmlbeans.XmlObject>
public Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
public SwesExtension<?> decode(org.apache.xmlbeans.XmlObject xmlObject) throws OwsExceptionReport, UnsupportedDecoderInputException
Decoder
decode
in interface Decoder<SwesExtension<?>,org.apache.xmlbeans.XmlObject>
xmlObject
- the object to encodeOwsExceptionReport
- if an error occursUnsupportedDecoderInputException
- if the supplied type (or any of it's contents) is not
supported by this decoderprivate boolean isSweAbstractDataComponent(Object xmlObj)
private boolean isSwesExtension(org.apache.xmlbeans.XmlObject xmlObject)
Copyright © 2012-2015 52north.org. All Rights Reserved.