Package gov.nasa.pds.label

Implements opt-level classes for accessing PDS labels and their data objects.

Users of this library should normally use Label.open(java.io.File) to read an parse a label. Then, methods in Label can be used to get the data objects referred to by the label.

Example:

 Label label = Label.open(new File("sample.xml"));
 List<DataObject> objects = label.getObjects();

 // Get the first object, which should be a table.
 TableObject table = (TableObject) objects.get(0);
 int nFields = table.getFields().length;
 ...