* <b>Description : This class allows to load and save data on a XML file. The castor API is used for the data binding.
* The default name for the file is the name of the class with ".xml" for the extension</b>
* <br>
* need a specific library : org.exolab.castor.xml
* <br>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <br>The aim of the project is to create a set of tools for amateur satellite purpose. All this tools could be used together to create specific software.
* <b>JOSAST</b> project is managed by AVMDTI (<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <br> This software is an open source software. Please read the <b><i>JOSAST licence</b></i><BR>(<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <p>for more information contact <a href="mailto:josast@avmdti.org">josast@avmdti.org</a></p>
* <b>Description : used for demonstration to the config package.
* see main to understand how to used the AbstactDataBinding. </b>
* <br>
*
*
* <br>
* <p>Projet : JOSAST <BR>
*
* <br>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <br>The aim of the project is to create a set of tools for amateur satellite purpose. All this tools could be used together to create specific software.
* <b>JOSAST</b> project is managed by AVMDTI (<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <br> This software is an open source software. Please read the <b><i>JOSAST licence</b></i><BR>(<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <br> V1 : 3 mars 2004 : C. Mercier : create file
* <p>
*/
...
...
@@ -26,14 +23,12 @@ import java.io.File;
importjava.util.Vector;
/**
*
* <b>Description : </b>
*
*
* <p>Projet : JOSAST <BR>
*
*
* <b>Description : </b>
* <p>Projet : JOSAST <br>
*
* <br>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <br>The aim of the project is to create a set of tools for amateur satellite purpose. All this tools could be used together to create specific software.
* <b>JOSAST</b> project is managed by AVMDTI (<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <br> This software is an open source software. Please read the <b><i>JOSAST licence</b></i><BR>(<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <b>Description : This class allows to save data in a configuration file.</b>
* <br>
* for the JOSAST project the org.josast.config.databinding is prefered to this package for storing data.
*
*
* <p>Projet : JOSAST <BR>
*
* for the JOSAST project the org.josast.config.databinding is prefered to this
* package for storing data.
*
* <p>
* Projet : JOSAST <BR>
*
* <br>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <br>The aim of the project is to create a set of tools for amateur satellite purpose. All this tools could be used together to create specific software.
* <b>JOSAST</b> project is managed by AVMDTI (<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <br> This software is an open source software. Please read the <b><i>JOSAST licence</b></i><BR>(<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <p>for more information contact <a href="mailto:josast@avmdti.org">josast@avmdti.org</a></p>
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <b>JOSAST</b> : Java Open Source Amateur Satellite Toolbox
* <br>The aim of the project is to create a set of tools for amateur satellite purpose. All this tools could be used together to create specific software.
* <b>JOSAST</b> project is managed by AVMDTI (<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
* <br> This software is an open source software. Please read the <b><i>JOSAST licence</b></i><BR>(<A HREF="http://www.avmdti.org">http://www.avmdti.org </a> )
privateStringsource="";// Callsign or user name of the receiver
privateStringtimestamp;// UTC timestamp (see ISO 8601)
// 2018-01-24T23:42:46Z
privateStringframe;// The received data, in hexadecimal string (AX.25
// packet with or without KISS 'C0 00 .. C0'.
// Whitespaces optional. C0 00 A9 05 DE ...
privatefinalStringlocator="longLat";// Type of the given receiver's
// location. Currently, only
// 'longLat' is supported. longLat
privateStringlongitude=null;// Longitude of the receiver (WGS84)
// 8.95564E
privateStringlatitude=null;// Latitude of the receiver (WGS84)
// 49.73145N
privateinttncPort=0;// Optional as per SiDS standard specification, but
// not used in PicSat SiDS system 0
privatedoubleazimuth=0.0;// azimuth degree of directionnal antenna (if
// avaiblable) 10.5
privateintnoradID;// Norad ID of the spacecraft
privatedoubleelevation=0.0;// elevation degree of directionnal antenna
// (if avaiblable) 85.0
privateStringsource="";// Callsign or user name of the receiver
privatelongfDown=0;// Frequency of the receiver's downlink channel
// during reception (with Doppler), in Hz 435525000
privateStringtimestamp;// UTC timestamp (see ISO 8601) 2018-01-24T23:42:46Z
privatefinalStringversion="2.0.1";
privateStringframe;// The received data, in hexadecimal string (AX.25 packet with or without KISS 'C0 00 .. C0'. Whitespaces optional. C0 00 A9 05 DE ...
publicSIDSData(){
finalprivateStringlocator="longLat";//Type of the given receiver's location. Currently, only 'longLat' is supported. longLat
}
privateStringlongitude=null;// Longitude of the receiver (WGS84) 8.95564E
/**
* addTelemetryData is used for adding telemetry data with associated
* TimeStamp. The timestamp is formated in correct date format.