Package gov.nasa.pds.label

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

See:
          Description

Class Summary
Label Implements a mechanism for accessing labels and the objects they represent.
 

Enum Summary
DisplayDirection Defines the various display directions that can be used by axes within arrays and images.
LabelStandard Defines a set of data standards which may be employed by PDS labels.
ProductType Defines label product types, as enumeration constants.
 

Package gov.nasa.pds.label Description

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;
 ...
 



Copyright © 2014. All Rights Reserved.