Package org.n52.svalbard.encode
Class SamplingEncoderv20
java.lang.Object
org.n52.svalbard.encode.AbstractDelegatingEncoder<org.apache.xmlbeans.XmlObject,AbstractFeature>
org.n52.svalbard.encode.AbstractXmlEncoder<org.apache.xmlbeans.XmlObject,AbstractFeature>
org.n52.svalbard.encode.AbstractGmlEncoderv321<org.apache.xmlbeans.XmlObject,AbstractFeature>
org.n52.svalbard.encode.SamplingEncoderv20
- All Implemented Interfaces:
Component<EncoderKey>,Keyed<EncoderKey>,ConformanceClass,Encoder<org.apache.xmlbeans.XmlObject,,AbstractFeature> SchemaAwareEncoder<org.apache.xmlbeans.XmlObject,AbstractFeature>
- Direct Known Subclasses:
SpecimenEncoderv20
public class SamplingEncoderv20
extends AbstractGmlEncoderv321<org.apache.xmlbeans.XmlObject,AbstractFeature>
implements ConformanceClass
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddFeatureType(net.opengis.sampling.x20.SFSamplingFeatureType sfsft, AbstractSamplingFeature sampFeat) protected voidaddNameDescription(net.opengis.sampling.x20.SFSamplingFeatureType xbSamplingFeature, AbstractSamplingFeature samplingFeature) voidaddNamespacePrefixToMap(Map<String, String> nameSpacePrefixMap) protected voidaddParameter(net.opengis.sampling.x20.SFSamplingFeatureType xbSampFeature, AbstractSamplingFeature sampFeat) protected voidaddSampledFeatures(net.opengis.sampling.x20.SFSamplingFeatureType sfsft, AbstractSamplingFeature sampFeat) protected org.apache.xmlbeans.XmlObjectcreateFeature(net.opengis.gml.x32.FeaturePropertyType featurePropertyType, AbstractFeature abstractFeature, EncodingContext context) protected org.apache.xmlbeans.XmlObjectcreateFeature(AbstractFeature absFeature) org.apache.xmlbeans.XmlObjectencode(AbstractFeature abstractFeature, EncodingContext ctx) getConformanceClasses(String service, String version) getKeys()protected voidsetMetaDataProperty(net.opengis.sampling.x20.SFSamplingFeatureType sfssft, AbstractSamplingFeature sampFeat) Methods inherited from class org.n52.svalbard.encode.AbstractGmlEncoderv321
addDescription, addId, addIdentifier, addName, createFeaturePropertyType, createFeaturePropertyTypeFrom, removeExitingNamesMethods inherited from class org.n52.svalbard.encode.AbstractXmlEncoder
encode, encodeObjectToXml, encodeObjectToXml, encodeObjectToXmlDocument, encodeObjectToXmlDocument, encodeObjectToXmlPropertyType, encodeObjectToXmlPropertyType, encodeObjectToXmlText, encodeObjectToXmlText, getAndCheck, getContentType, getDocumentEncoder, getDocumentEncoder, getDocumentEncoderKey, getDocumentEncoderKey, getEncoder, getEncoder, getEncoderKey, getEncoderKey, getPropertyTypeEncoder, getPropertyTypeEncoder, getPropertyTypeEncoderKey, getPropertyTypeEncoderKey, getXmlOptions, setXmlOptions, substituteMethods inherited from class org.n52.svalbard.encode.AbstractDelegatingEncoder
getEncoder, getEncoderRepository, setEncoderRepository
-
Constructor Details
-
SamplingEncoderv20
public SamplingEncoderv20()
-
-
Method Details
-
getKeys
- Specified by:
getKeysin interfaceKeyed<EncoderKey>
-
getSupportedTypes
- Specified by:
getSupportedTypesin interfaceEncoder<org.apache.xmlbeans.XmlObject,AbstractFeature>
-
getConformanceClasses
- Specified by:
getConformanceClassesin interfaceConformanceClass
-
addNamespacePrefixToMap
- Specified by:
addNamespacePrefixToMapin interfaceSchemaAwareEncoder<org.apache.xmlbeans.XmlObject,AbstractFeature>
-
getSchemaLocations
- Specified by:
getSchemaLocationsin interfaceSchemaAwareEncoder<org.apache.xmlbeans.XmlObject,AbstractFeature>
-
encode
public org.apache.xmlbeans.XmlObject encode(AbstractFeature abstractFeature, EncodingContext ctx) throws EncodingException - Specified by:
encodein interfaceEncoder<org.apache.xmlbeans.XmlObject,AbstractFeature> - Throws:
EncodingException
-
createFeature
protected org.apache.xmlbeans.XmlObject createFeature(AbstractFeature absFeature) 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,AbstractFeature> - Throws:
EncodingException
-
addSampledFeatures
protected void addSampledFeatures(net.opengis.sampling.x20.SFSamplingFeatureType sfsft, AbstractSamplingFeature sampFeat) throws EncodingException - Throws:
EncodingException
-
addFeatureType
protected void addFeatureType(net.opengis.sampling.x20.SFSamplingFeatureType sfsft, AbstractSamplingFeature sampFeat) -
addParameter
protected void addParameter(net.opengis.sampling.x20.SFSamplingFeatureType xbSampFeature, AbstractSamplingFeature sampFeat) throws EncodingException - Throws:
EncodingException
-
addNameDescription
protected void addNameDescription(net.opengis.sampling.x20.SFSamplingFeatureType xbSamplingFeature, AbstractSamplingFeature samplingFeature) throws EncodingException - Throws:
EncodingException
-
setMetaDataProperty
protected void setMetaDataProperty(net.opengis.sampling.x20.SFSamplingFeatureType sfssft, AbstractSamplingFeature sampFeat) throws EncodingException - Throws:
EncodingException
-