public class GeographicalInformationImpl extends OctetStringBase implements GeographicalInformation
| Modifier and Type | Field and Description |
|---|---|
protected static javolution.xml.XMLFormat<GeographicalInformationImpl> |
GEOGRAPHICAL_INFORMATION_XML
XML Serialization/Deserialization
|
_PrimitiveName, data, maxLength, minLength| Constructor and Description |
|---|
GeographicalInformationImpl() |
GeographicalInformationImpl(byte[] data) |
GeographicalInformationImpl(TypeOfShape typeOfShape,
double latitude,
double longitude,
double uncertainty) |
| Modifier and Type | Method and Description |
|---|---|
static double |
decodeLatitude(byte[] data,
int begin) |
static double |
decodeLongitude(byte[] data,
int begin) |
static double |
decodeUncertainty(int data) |
static void |
encodeLatitude(byte[] data,
int begin,
double val) |
static void |
encodeLongitude(byte[] data,
int begin,
double val) |
static int |
encodeUncertainty(double val) |
byte[] |
getData() |
double |
getLatitude() |
double |
getLongitude() |
TypeOfShape |
getTypeOfShape() |
double |
getUncertainty() |
void |
setData(TypeOfShape typeOfShape,
double latitude,
double longitude,
double uncertainty) |
String |
toString() |
_decode, decodeAll, decodeData, encodeAll, encodeAll, encodeData, equals, getIsPrimitive, getTag, getTagClass, hashCode, printDataArrprotected static final javolution.xml.XMLFormat<GeographicalInformationImpl> GEOGRAPHICAL_INFORMATION_XML
public GeographicalInformationImpl()
public GeographicalInformationImpl(byte[] data)
public GeographicalInformationImpl(TypeOfShape typeOfShape, double latitude, double longitude, double uncertainty) throws MAPException
MAPExceptionpublic void setData(TypeOfShape typeOfShape, double latitude, double longitude, double uncertainty) throws MAPException
MAPExceptionpublic static double decodeLatitude(byte[] data,
int begin)
public static double decodeLongitude(byte[] data,
int begin)
public static double decodeUncertainty(int data)
public static void encodeLatitude(byte[] data,
int begin,
double val)
public static void encodeLongitude(byte[] data,
int begin,
double val)
public static int encodeUncertainty(double val)
public byte[] getData()
getData in interface GeographicalInformationpublic TypeOfShape getTypeOfShape()
getTypeOfShape in interface GeographicalInformationpublic double getLatitude()
getLatitude in interface GeographicalInformationpublic double getLongitude()
getLongitude in interface GeographicalInformationpublic double getUncertainty()
getUncertainty in interface GeographicalInformationpublic String toString()
toString in class OctetStringBaseCopyright © 2016. All Rights Reserved.