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 Formatter Interface. Currently the provided 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 and provide the output you need.

Javadoc

Javadoc for the formatters project is available here