public class GetCapabilitiesResponseEncoder extends AbstractSosResponseEncoder<GetCapabilitiesResponse>
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
GetCapabilitiesResponseEncoder() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.xmlbeans.XmlObject |
create(GetCapabilitiesResponse response)
Create an
XmlObject from the AbstractServiceResponse
object |
private org.apache.xmlbeans.XmlObject |
createInsertionCapabilities(SosInsertionCapabilities caps) |
private void |
createRelatedFeature(net.opengis.swes.x20.FeatureRelationshipType featureRelationship,
String relatedFeatureTarget,
Collection<String> roles)
Creates a XML FeatureRelationship for the relatedFeature
|
private void |
encodeContents(SosCapabilities caps,
net.opengis.sos.x20.CapabilitiesType xbCaps,
String version) |
private void |
encodeExtensions(SosCapabilities caps,
net.opengis.sos.x20.CapabilitiesType xbCaps) |
private void |
encodeFeatureOfInterestTypes(SosObservationOffering offering,
net.opengis.sos.x20.ObservationOfferingType xbObsOff) |
private void |
encodeFilterCapabilities(SosCapabilities caps,
net.opengis.sos.x20.CapabilitiesType xbCaps) |
private void |
encodeObservableProperties(SosObservationOffering offering,
net.opengis.sos.x20.ObservationOfferingType xbObsOff) |
private void |
encodeObservationOffering(SosObservationOffering offering,
int offeringCounter,
net.opengis.sos.x20.ContentsType xbContType) |
private void |
encodeObservationType(SosObservationOffering offering,
net.opengis.sos.x20.ObservationOfferingType xbObsOff) |
private void |
encodeObservedArea(SosObservationOffering offering,
net.opengis.sos.x20.ObservationOfferingType xbObsOff) |
private void |
encodeOfferingExtension(SosObservationOffering sosOffering,
net.opengis.sos.x20.ObservationOfferingType xbObsOff) |
private void |
encodeOperationsMetadata(SosCapabilities caps,
net.opengis.sos.x20.CapabilitiesType xbCaps) |
private void |
encodePhenomenonTime(SosObservationOffering offering,
int offeringCounter,
net.opengis.sos.x20.ObservationOfferingType xbObsOff) |
private void |
encodeProcedureDescriptionFormats(SosObservationOffering offering,
net.opengis.sos.x20.ObservationOfferingType xbObsOff) |
private void |
encodeRelatedFeatures(SosObservationOffering offering,
net.opengis.sos.x20.ObservationOfferingType xbObsOff) |
private void |
encodeResponseFormat(SosObservationOffering offering,
net.opengis.sos.x20.ObservationOfferingType xbObsOff) |
private void |
encodeResultTime(SosObservationOffering offering,
int offeringCounter,
net.opengis.sos.x20.ObservationOfferingType xbObsOff) |
private void |
encodeServiceIdentification(SosCapabilities caps,
net.opengis.sos.x20.CapabilitiesType xbCaps) |
private void |
encodeServiceProvider(SosCapabilities caps,
net.opengis.sos.x20.CapabilitiesType xbCaps) |
Set<SchemaLocation> |
getConcreteSchemaLocations()
Get the concrete schema locations for this
AbstractServiceResponse encoder |
private void |
renameContentsElementNames(net.opengis.sos.x20.CapabilitiesType.Contents xbContents) |
protected void |
setContents(net.opengis.sos.x20.CapabilitiesType.Contents xbContents,
Collection<SosObservationOffering> offerings,
String version)
Sets the content section to the Capabilities document.
|
private void |
setExtensions(org.apache.xmlbeans.XmlObject addNewExtension,
CapabilitiesExtension extension) |
encodeFes, encodeFes, encodeGml, encodeGml, encodeOws, encodeOws, encodeSwe, encodeSwe, getActiveProfile, getSchemaLocations
addNamespacePrefixToMap, create, encode, encode, encode, encode, forceStreaming, getEncoderKeyType, getResponseType, getXmlOptions, writeIndent
getConformanceClasses, getContentType, getSupportedTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentType, getSupportedTypes
getConformanceClasses
protected org.apache.xmlbeans.XmlObject create(GetCapabilitiesResponse response) throws OwsExceptionReport
AbstractResponseEncoder
XmlObject
from the AbstractServiceResponse
objectcreate
in class AbstractResponseEncoder<GetCapabilitiesResponse>
response
- AbstractServiceResponse
to encodeAbstractServiceResponse
OwsExceptionReport
- If an error occurs during the encodingprivate void setExtensions(org.apache.xmlbeans.XmlObject addNewExtension, CapabilitiesExtension extension) throws CodedException
CodedException
private org.apache.xmlbeans.XmlObject createInsertionCapabilities(SosInsertionCapabilities caps)
protected void setContents(net.opengis.sos.x20.CapabilitiesType.Contents xbContents, Collection<SosObservationOffering> offerings, String version) throws OwsExceptionReport
xbContents
- SOS 2.0 contents sectionofferings
- SOS offerings for contentsversion
- SOS response versionOwsExceptionReport
- * if an error occurs.private void createRelatedFeature(net.opengis.swes.x20.FeatureRelationshipType featureRelationship, String relatedFeatureTarget, Collection<String> roles)
featureRelationship
- XML feature relationshiprelatedFeatureTarget
- Feature target identifierroles
- Features roleprivate void renameContentsElementNames(net.opengis.sos.x20.CapabilitiesType.Contents xbContents)
public Set<SchemaLocation> getConcreteSchemaLocations()
AbstractResponseEncoder
AbstractServiceResponse
encodergetConcreteSchemaLocations
in class AbstractResponseEncoder<GetCapabilitiesResponse>
private void encodeServiceIdentification(SosCapabilities caps, net.opengis.sos.x20.CapabilitiesType xbCaps) throws OwsExceptionReport
OwsExceptionReport
private void encodeServiceProvider(SosCapabilities caps, net.opengis.sos.x20.CapabilitiesType xbCaps) throws OwsExceptionReport
OwsExceptionReport
private void encodeOperationsMetadata(SosCapabilities caps, net.opengis.sos.x20.CapabilitiesType xbCaps) throws OwsExceptionReport
OwsExceptionReport
private void encodeFilterCapabilities(SosCapabilities caps, net.opengis.sos.x20.CapabilitiesType xbCaps) throws OwsExceptionReport
OwsExceptionReport
private void encodeContents(SosCapabilities caps, net.opengis.sos.x20.CapabilitiesType xbCaps, String version) throws OwsExceptionReport
OwsExceptionReport
private void encodeExtensions(SosCapabilities caps, net.opengis.sos.x20.CapabilitiesType xbCaps) throws OwsExceptionReport
OwsExceptionReport
private void encodeObservationOffering(SosObservationOffering offering, int offeringCounter, net.opengis.sos.x20.ContentsType xbContType) throws OwsExceptionReport
OwsExceptionReport
private void encodeOfferingExtension(SosObservationOffering sosOffering, net.opengis.sos.x20.ObservationOfferingType xbObsOff) throws OwsExceptionReport
OwsExceptionReport
private void encodeObservableProperties(SosObservationOffering offering, net.opengis.sos.x20.ObservationOfferingType xbObsOff)
private void encodeRelatedFeatures(SosObservationOffering offering, net.opengis.sos.x20.ObservationOfferingType xbObsOff)
private void encodeObservedArea(SosObservationOffering offering, net.opengis.sos.x20.ObservationOfferingType xbObsOff) throws OwsExceptionReport
OwsExceptionReport
private void encodePhenomenonTime(SosObservationOffering offering, int offeringCounter, net.opengis.sos.x20.ObservationOfferingType xbObsOff) throws OwsExceptionReport
OwsExceptionReport
private void encodeResultTime(SosObservationOffering offering, int offeringCounter, net.opengis.sos.x20.ObservationOfferingType xbObsOff) throws OwsExceptionReport
OwsExceptionReport
private void encodeResponseFormat(SosObservationOffering offering, net.opengis.sos.x20.ObservationOfferingType xbObsOff)
private void encodeObservationType(SosObservationOffering offering, net.opengis.sos.x20.ObservationOfferingType xbObsOff)
private void encodeFeatureOfInterestTypes(SosObservationOffering offering, net.opengis.sos.x20.ObservationOfferingType xbObsOff)
private void encodeProcedureDescriptionFormats(SosObservationOffering offering, net.opengis.sos.x20.ObservationOfferingType xbObsOff)
Copyright © 2012-2015 52north.org. All Rights Reserved.