Skip to content
amaxilat edited this page Feb 27, 2012 · 10 revisions

This repository stores all available Entity Formatters for the Uberdust project.

What are the formatters?

The formatters are utility classes that convert Entities from the WiseDB project to different formats like:

  1. Text
  2. HTML
  3. JSON
  4. GeoRss
  5. KML
  6. WiseML

Which are the available transformations?

For information on all available transformations you need to check the (https://github.com/Uberdust/formatters/blob/master/src/main/java/eu/uberdust/formatter/Formatter.java)[Formatter Interface]. Currently the implemented functions are:

  • formatTestbed(...)

  • formatNodeReading(...)

  • formatTestbeds(...)

  • formatCapabilities(...)

  • formatNodes(...)

  • formatNodeReadings(...)

  • formatUniqueLastNodeReadings(...)

  • formatLinks(...)

  • formatLastReadings(...)

  • describeNode(...)

  • describeTestbed(...)

Add conversion to new formats?

In order to create a new formatter you can just extend the Formatter Interface an provide the output you need.

Clone this wiki locally