Class TethysParameterPacker

java.lang.Object
tethys.pamdata.TethysParameterPacker

public class TethysParameterPacker extends Object
Functions to pack up a PAMGuard parameters object into the correct format for Tethys. This is very similar to functions in PamguardXMLWriter.writeUnitSettings but seems to have enough differences that it needs totally rewriting for Tethys.
Author:
dg50
  • Constructor Details

    • TethysParameterPacker

      public TethysParameterPacker(TethysControl tethysControl) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
  • Method Details

    • packParameters

      public List<Element> packParameters(PamDataBlock pamDataBlock)
      Get a list of elements of parameters for all modules feeding the given datablock. These are given in reverse order.
      Parameters:
      pamDataBlock - output datablock
      fullChain -
      Returns:
      parameters of all modules feeding that datablock.
    • packObject

      public Element packObject(Object data)
    • packObject

      public Element packObject(Object data, String elementName)