public class Iso19139GcoEncoder extends AbstractXmlEncoder<Object>
AbstractXmlEncoder
class to decode ISO TC211 Geographic COmmon (GCO) extensible
markup language.Modifier and Type | Field and Description |
---|---|
private static Set<EncoderKey> |
ENCODER_KEYS |
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
Iso19139GcoEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
|
org.apache.xmlbeans.XmlObject |
encode(Object element,
Map<SosConstants.HelperValues,String> additionalValues)
Encodes the specified object with the specified SosConstants.HelperValues
.
|
private org.apache.xmlbeans.XmlObject |
encodeRole(Role role) |
Set<EncoderKey> |
getEncoderKeyType() |
Set<SchemaLocation> |
getSchemaLocations() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
|
encode, getConformanceClasses, getContentType
private static final org.slf4j.Logger LOGGER
private static final Set<EncoderKey> ENCODER_KEYS
public Set<EncoderKey> getEncoderKeyType()
EncoderKey
)public Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Encoder
getSupportedTypes
in interface Encoder<org.apache.xmlbeans.XmlObject,Object>
getSupportedTypes
in class AbstractXmlEncoder<Object>
public void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
Encoder
addNamespacePrefixToMap
in interface Encoder<org.apache.xmlbeans.XmlObject,Object>
addNamespacePrefixToMap
in class AbstractXmlEncoder<Object>
public Set<SchemaLocation> getSchemaLocations()
getSchemaLocations
in interface Encoder<org.apache.xmlbeans.XmlObject,Object>
getSchemaLocations
in class AbstractXmlEncoder<Object>
public org.apache.xmlbeans.XmlObject encode(Object element, Map<SosConstants.HelperValues,String> additionalValues) throws OwsExceptionReport, UnsupportedEncoderInputException
Encoder
element
- the object to encodeadditionalValues
- the helper valuesOwsExceptionReport
- if an error occursUnsupportedEncoderInputException
- if the supplied object (or any of it's contents) is not
supported by this encoderprivate org.apache.xmlbeans.XmlObject encodeRole(Role role)
Copyright © 2012-2015 52north.org. All Rights Reserved.