Class PamguardXMLReader

java.lang.Object
PamController.settings.output.xml.PamguardXMLReader

public class PamguardXMLReader extends Object
  • Constructor Details

    • PamguardXMLReader

      public PamguardXMLReader(String fileName)
    • PamguardXMLReader

      public PamguardXMLReader(Document doc)
  • Method Details

    • unpackModuleNode

      public Object[] unpackModuleNode(ModuleNode moduleNode)
      Unpack a module node, creating a class and settings it's data.
    • unpackSettingsNode

      public Object unpackSettingsNode(Node settingsNode)
    • modulesForClass

      public ArrayList<ModuleNode> modulesForClass(String className)
      Find all module nodes which are for a particular parameter class.
      Parameters:
      className -
      Returns:
      module nodes
    • findSettingsForClass

      public ArrayList<Node> findSettingsForClass(String className)
    • modulesForType

      public ArrayList<ModuleNode> modulesForType(String unitType)
      Find all module nodes which are for a particular module type.
      Parameters:
      unitType - PAMGuard unit type
      Returns:
      module nodes
    • getAttrString

      public String getAttrString(NamedNodeMap attrMap, String attName)
    • getModuleNodes

      public ArrayList<ModuleNode> getModuleNodes()
      Returns:
      the moduleNodes