S
- public abstract class AbstractXmlEncoder<S> extends Object implements Encoder<org.apache.xmlbeans.XmlObject,S>
Constructor and Description |
---|
AbstractXmlEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
|
org.apache.xmlbeans.XmlObject |
encode(S element)
Encodes the specified object.
|
Set<String> |
getConformanceClasses() |
MediaType |
getContentType() |
Set<SchemaLocation> |
getSchemaLocations() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode, getEncoderKeyType
public Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Encoder
getSupportedTypes
in interface Encoder<org.apache.xmlbeans.XmlObject,S>
public void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
Encoder
addNamespacePrefixToMap
in interface Encoder<org.apache.xmlbeans.XmlObject,S>
public org.apache.xmlbeans.XmlObject encode(S element) throws OwsExceptionReport
Encoder
encode
in interface Encoder<org.apache.xmlbeans.XmlObject,S>
element
- the object to encodeOwsExceptionReport
- if an error occursUnsupportedEncoderInputException
- if the supplied object (or any of it's contents) is not
supported by this encoderpublic MediaType getContentType()
getContentType
in interface Encoder<org.apache.xmlbeans.XmlObject,S>
public Set<SchemaLocation> getSchemaLocations()
getSchemaLocations
in interface Encoder<org.apache.xmlbeans.XmlObject,S>
public Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
Copyright © 2012-2015 52north.org. All Rights Reserved.