public class Iso19139GcoDecoder extends Object implements Decoder<Object,org.apache.xmlbeans.XmlObject>
Decoder
class to decode ISO TC211 Geographic COmmon (GCO) extensible
markup language.Modifier and Type | Field and Description |
---|---|
private static Set<DecoderKey> |
DECODER_KEYS |
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
Iso19139GcoDecoder() |
Modifier and Type | Method and Description |
---|---|
Object |
decode(org.apache.xmlbeans.XmlObject element)
Decode a object to another representation.
|
private Role |
encodeCodeListValue(org.isotc211.x2005.gco.CodeListValueType circ) |
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 static final org.slf4j.Logger LOGGER
private static final Set<DecoderKey> DECODER_KEYS
public Set<DecoderKey> getDecoderKeyTypes()
getDecoderKeyTypes
in interface Decoder<Object,org.apache.xmlbeans.XmlObject>
DecoderKey
) is able to decodepublic Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
public Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Decoder
getSupportedTypes
in interface Decoder<Object,org.apache.xmlbeans.XmlObject>
public Object decode(org.apache.xmlbeans.XmlObject element) throws OwsExceptionReport, UnsupportedDecoderInputException
Decoder
decode
in interface Decoder<Object,org.apache.xmlbeans.XmlObject>
element
- the object to encodeOwsExceptionReport
- if an error occursUnsupportedDecoderInputException
- if the supplied type (or any of it's contents) is not
supported by this decoderprivate Role encodeCodeListValue(org.isotc211.x2005.gco.CodeListValueType circ)
Copyright © 2012-2015 52north.org. All Rights Reserved.