Class PDS3LabelReader


  • public class PDS3LabelReader
    extends Object
    Author:
    jpadams, slevoe
    • Constructor Detail

      • PDS3LabelReader

        public PDS3LabelReader()
    • Method Detail

      • parseLabel

        public Document parseLabel​(String filePath)
                            throws IOException
        Parse the label and create a XML DOM representation. PDSLabelToDom: Within the DOM returned the Elements are: PDS3 - At top of document to describe it is a PDS3 label COMMENT - All commented text in label is contained within these elements item - A data item at base level of label GROUP - A group of related elements containing a collection of items OBJECT - A group of related elements containing a collection of items
        Parameters:
        filePath -
        Throws:
        IOException
      • traverseDOM

        public Map<String,​Map> traverseDOM​(Node root)
        Traverses the DOM returned by the PDSLabelToDom object.
        Parameters:
        root -
      • getPDSObjectNames

        public List<String> getPDSObjectNames()
      • getPDSSimpleItemNames

        public List<String> getPDSSimpleItemNames()
      • getTaskNames

        public List<String> getTaskNames()