Package org.n52.svalbard.encode
Class SamplingEncoderv20
- 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,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 Constructor Description SamplingEncoderv20()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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)Set<String>getConformanceClasses(String service, String version)Set<EncoderKey>getKeys()Set<SchemaLocation>getSchemaLocations()Set<SupportedType>getSupportedTypes()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, removeExitingNames
-
Methods 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, substitute
-
Methods inherited from class org.n52.svalbard.encode.AbstractDelegatingEncoder
getEncoder, getEncoderRepository, setEncoderRepository
-
-
-
-
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,AbstractFeature>
-
getConformanceClasses
public Set<String> getConformanceClasses(String service, String version)
- Specified by:
getConformanceClassesin interfaceConformanceClass
-
addNamespacePrefixToMap
public void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
- Specified by:
addNamespacePrefixToMapin interfaceSchemaAwareEncoder<org.apache.xmlbeans.XmlObject,AbstractFeature>
-
getSchemaLocations
public Set<SchemaLocation> 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
-
-