Modifier and Type | Field and Description |
---|---|
private static String |
CS |
private static String |
DECIMAL |
private static Set<DecoderKey> |
DECODER_KEYS |
private static org.slf4j.Logger |
LOGGER |
private static String |
TS |
Constructor and Description |
---|
GmlDecoderv311() |
Modifier and Type | Method and Description |
---|---|
private void |
checkSrid(int srid) |
Object |
decode(org.apache.xmlbeans.XmlObject xmlObject)
Decode a object to another representation.
|
Set<String> |
getConformanceClasses() |
Set<DecoderKey> |
getDecoderKeyTypes() |
private com.vividsolutions.jts.geom.Geometry |
getGeometry4BBOX(net.opengis.gml.EnvelopeDocument xbBbox) |
private String |
getString4Coordinates(net.opengis.gml.CoordinatesType xbCoordinates)
parses XmlBeans Coordinates to a String with coordinates for WKT.
|
private String |
getString4Pos(net.opengis.gml.DirectPositionType xbPos)
parses XmlBeans DirectPosition to a String with coordinates for WKT.
|
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
Get the ServiceConstants.SupportedTypeKey in the case of having only generic
java types, e.g.
|
private CodeType |
parseCodeType(net.opengis.gml.CodeType element) |
private Object |
parsePointType(net.opengis.gml.PointType xbPointType) |
private Object |
parseTimeInstant(net.opengis.gml.TimeInstantType xbTimeIntant) |
private Object |
parseTimePeriod(net.opengis.gml.TimePeriodType xbTimePeriod) |
private TimeInstant |
parseTimePosition(net.opengis.gml.TimePositionType xbTimePosition) |
private static final org.slf4j.Logger LOGGER
private static final Set<DecoderKey> DECODER_KEYS
private static final String CS
private static final String DECIMAL
private static final String TS
public Set<DecoderKey> getDecoderKeyTypes()
getDecoderKeyTypes
in interface Decoder<Object,org.apache.xmlbeans.XmlObject>
DecoderKey
) is able to decodepublic Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Decoder
getSupportedTypes
in interface Decoder<Object,org.apache.xmlbeans.XmlObject>
public Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
public Object decode(org.apache.xmlbeans.XmlObject xmlObject) throws OwsExceptionReport
Decoder
decode
in interface Decoder<Object,org.apache.xmlbeans.XmlObject>
xmlObject
- the object to encodeOwsExceptionReport
- if an error occursUnsupportedDecoderInputException
- if the supplied type (or any of it's contents) is not
supported by this decoderprivate com.vividsolutions.jts.geom.Geometry getGeometry4BBOX(net.opengis.gml.EnvelopeDocument xbBbox) throws OwsExceptionReport
OwsExceptionReport
private Object parseTimePeriod(net.opengis.gml.TimePeriodType xbTimePeriod) throws OwsExceptionReport
OwsExceptionReport
private Object parseTimeInstant(net.opengis.gml.TimeInstantType xbTimeIntant) throws OwsExceptionReport
OwsExceptionReport
private TimeInstant parseTimePosition(net.opengis.gml.TimePositionType xbTimePosition) throws OwsExceptionReport
OwsExceptionReport
private CodeType parseCodeType(net.opengis.gml.CodeType element)
private Object parsePointType(net.opengis.gml.PointType xbPointType) throws OwsExceptionReport
OwsExceptionReport
private String getString4Pos(net.opengis.gml.DirectPositionType xbPos)
xbPos
- XmlBeans generated DirectPosition.private String getString4Coordinates(net.opengis.gml.CoordinatesType xbCoordinates)
xbCoordinates
- XmlBeans generated Coordinates.private void checkSrid(int srid) throws OwsExceptionReport
OwsExceptionReport
Copyright © 2012-2015 52north.org. All Rights Reserved.