Package org.n52.svalbard.encode
Class ProcessTypeEncoder
- java.lang.Object
-
- org.n52.svalbard.encode.AbstractDelegatingEncoder<T,S>
-
- org.n52.svalbard.encode.AbstractXmlEncoder<T,S>
-
- org.n52.svalbard.encode.AbstractGmlEncoderv321<org.apache.xmlbeans.XmlObject,Process>
-
- org.n52.svalbard.encode.ProcessTypeEncoder
-
- All Implemented Interfaces:
Component<EncoderKey>,Keyed<EncoderKey>,ConformanceClass,ConformanceClassEncoder<org.apache.xmlbeans.XmlObject,Process>,Encoder<org.apache.xmlbeans.XmlObject,Process>,ProcedureEncoder<org.apache.xmlbeans.XmlObject,Process>,SchemaAwareEncoder<org.apache.xmlbeans.XmlObject,Process>,ProcedureCoder
- Direct Known Subclasses:
ProcessDocumentEncoder,ProcessPropertyTypeEncoder
public class ProcessTypeEncoder extends AbstractGmlEncoderv321<org.apache.xmlbeans.XmlObject,Process> implements ProcedureEncoder<org.apache.xmlbeans.XmlObject,Process>
-
-
Constructor Summary
Constructors Constructor Description ProcessTypeEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)protected org.apache.xmlbeans.XmlObjectcreateFeature(net.opengis.gml.x32.FeaturePropertyType featurePropertyType, AbstractFeature abstractFeature, EncodingContext context)protected eu.europa.ec.inspire.schemas.ompr.x30.ProcessTypecreateProcess(Process process)org.apache.xmlbeans.XmlObjectencode(Process process)org.apache.xmlbeans.XmlObjectencode(Process process, EncodingContext ec)protected org.apache.xmlbeans.XmlObjectencodeBASE(Object o)protected org.apache.xmlbeans.XmlObjectencodeBASE(Object o, EncodingContext encodingContext)protected org.apache.xmlbeans.XmlObjectencodeBASE2(Object o)protected org.apache.xmlbeans.XmlObjectencodeBASE2(Object o, EncodingContext encodingContext)protected org.apache.xmlbeans.XmlObjectencodeBASE2Document(Object o)protected org.apache.xmlbeans.XmlObjectencodeBASE2PropertyType(Object o)protected org.apache.xmlbeans.XmlObjectencodeBASEDocument(Object o)protected org.apache.xmlbeans.XmlObjectencodeBASEPropertyType(Object o)protected org.apache.xmlbeans.XmlObjectencodeOMPR(Object o)protected org.apache.xmlbeans.XmlObjectencodeOMPRDocument(Object o)MediaTypegetContentType()Set<EncoderKey>getKeys()Set<SchemaLocation>getSchemaLocations()Set<String>getSupportedProcedureDescriptionFormats(String service, String version)Set<SupportedType>getSupportedTypes()-
Methods inherited from class org.n52.svalbard.encode.AbstractGmlEncoderv321
addDescription, addId, addIdentifier, addName, createFeaturePropertyType, createFeaturePropertyTypeFrom, removeExitingNames
-
Methods inherited from class org.n52.svalbard.encode.AbstractXmlEncoder
encodeObjectToXml, encodeObjectToXml, encodeObjectToXmlDocument, encodeObjectToXmlDocument, encodeObjectToXmlPropertyType, encodeObjectToXmlPropertyType, encodeObjectToXmlText, encodeObjectToXmlText, getAndCheck, getDocumentEncoder, getDocumentEncoder, getDocumentEncoderKey, getDocumentEncoderKey, getEncoder, getEncoder, getEncoderKey, getEncoderKey, getPropertyTypeEncoder, getPropertyTypeEncoder, getPropertyTypeEncoderKey, getPropertyTypeEncoderKey, getXmlOptions, setXmlOptions, substitute
-
Methods inherited from class org.n52.svalbard.encode.AbstractDelegatingEncoder
getEncoder, getEncoderRepository, setEncoderRepository
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.svalbard.ConformanceClass
getConformanceClasses
-
-
-
-
Method Detail
-
getKeys
public Set<EncoderKey> getKeys()
- Specified by:
getKeysin interfaceKeyed<EncoderKey>
-
getSupportedTypes
public Set<SupportedType> getSupportedTypes()
- Specified by:
getSupportedTypesin interfaceEncoder<org.apache.xmlbeans.XmlObject,Process>
-
addNamespacePrefixToMap
public void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
- Specified by:
addNamespacePrefixToMapin interfaceSchemaAwareEncoder<org.apache.xmlbeans.XmlObject,Process>
-
getContentType
public MediaType getContentType()
- Specified by:
getContentTypein interfaceEncoder<org.apache.xmlbeans.XmlObject,Process>- Overrides:
getContentTypein classAbstractXmlEncoder<org.apache.xmlbeans.XmlObject,Process>
-
getSchemaLocations
public Set<SchemaLocation> getSchemaLocations()
- Specified by:
getSchemaLocationsin interfaceSchemaAwareEncoder<org.apache.xmlbeans.XmlObject,Process>
-
getSupportedProcedureDescriptionFormats
public Set<String> getSupportedProcedureDescriptionFormats(String service, String version)
- Specified by:
getSupportedProcedureDescriptionFormatsin interfaceProcedureCoder- Specified by:
getSupportedProcedureDescriptionFormatsin interfaceProcedureEncoder<org.apache.xmlbeans.XmlObject,Process>
-
encode
public org.apache.xmlbeans.XmlObject encode(Process process) throws EncodingException
- Specified by:
encodein interfaceEncoder<org.apache.xmlbeans.XmlObject,Process>- Overrides:
encodein classAbstractXmlEncoder<org.apache.xmlbeans.XmlObject,Process>- Throws:
EncodingException
-
encode
public org.apache.xmlbeans.XmlObject encode(Process process, EncodingContext ec) throws EncodingException
- Specified by:
encodein interfaceEncoder<org.apache.xmlbeans.XmlObject,Process>- Throws:
EncodingException
-
createProcess
protected eu.europa.ec.inspire.schemas.ompr.x30.ProcessType createProcess(Process process) throws EncodingException
- Throws:
EncodingException
-
createFeature
protected org.apache.xmlbeans.XmlObject createFeature(net.opengis.gml.x32.FeaturePropertyType featurePropertyType, AbstractFeature abstractFeature, EncodingContext context) throws EncodingException- Specified by:
createFeaturein classAbstractGmlEncoderv321<org.apache.xmlbeans.XmlObject,Process>- Throws:
EncodingException
-
encodeOMPR
protected org.apache.xmlbeans.XmlObject encodeOMPR(Object o) throws EncodingException
- Throws:
EncodingException
-
encodeOMPRDocument
protected org.apache.xmlbeans.XmlObject encodeOMPRDocument(Object o) throws EncodingException
- Throws:
EncodingException
-
encodeBASE
protected org.apache.xmlbeans.XmlObject encodeBASE(Object o) throws EncodingException
- Throws:
EncodingException
-
encodeBASE
protected org.apache.xmlbeans.XmlObject encodeBASE(Object o, EncodingContext encodingContext) throws EncodingException
- Throws:
EncodingException
-
encodeBASEPropertyType
protected org.apache.xmlbeans.XmlObject encodeBASEPropertyType(Object o) throws EncodingException
- Throws:
EncodingException
-
encodeBASEDocument
protected org.apache.xmlbeans.XmlObject encodeBASEDocument(Object o) throws EncodingException
- Throws:
EncodingException
-
encodeBASE2
protected org.apache.xmlbeans.XmlObject encodeBASE2(Object o) throws EncodingException
- Throws:
EncodingException
-
encodeBASE2
protected org.apache.xmlbeans.XmlObject encodeBASE2(Object o, EncodingContext encodingContext) throws EncodingException
- Throws:
EncodingException
-
encodeBASE2PropertyType
protected org.apache.xmlbeans.XmlObject encodeBASE2PropertyType(Object o) throws EncodingException
- Throws:
EncodingException
-
encodeBASE2Document
protected org.apache.xmlbeans.XmlObject encodeBASE2Document(Object o) throws EncodingException
- Throws:
EncodingException
-
-