de.unikassel.android.sdcframework.data.independent
Interface SerializableData

Package class diagram package SerializableData
All Known Subinterfaces:
SampleData
All Known Implementing Classes:
AbstractSampleData, AccelerometerSampleData, BasicSample, BluetoothSampleData, ConcreteDeviceInformation, DeviceInformation, FileReferenceSampleData, GeoLocation, GPSSampleData, GSMSampleData, GyroscopeSampleData, LightSampleData, LocationSampleData, MagneticFieldSampleData, NetworkLocationSampleData, OrientationSampleData, PressureSampleData, ProximitySampleData, Sample, SDCConfiguration, TemperatureSampleData, TextSampleData, TimeProviderSampleData, TwitterSampleData, WeekdaySchedule, WeekdayScheduleEntry, WeeklySchedule, WifiSampleData

public interface SerializableData

Interface for serializable data types.


Method Summary
 String toXML()
          Serialization from the type to it's XML representation
 

Method Detail

toXML

String toXML()
             throws Exception
Serialization from the type to it's XML representation

Returns:
the XML representation of the type if successful, null otherwise
Throws:
Exception - if the schema for the object is not valid