Class SimpleClassifierJSONLogging

Direct Known Subclasses:
BearingClassifierJSON, Chi2JsonLogging, IDIClassifierJSON, StandardClassificationJSON, TemplateClassifierJSONLogging

public class SimpleClassifierJSONLogging extends ClassifierJSONLogging
  • Field Details

  • Constructor Details

    • SimpleClassifierJSONLogging

      public SimpleClassifierJSONLogging()
  • Method Details

    • getJsonString

      public String getJsonString(CTClassification ctClassification)
      Description copied from class: ClassifierJSONLogging
      Create a standard xml like string of the error data which can be written to the relational database.
      Specified by:
      getJsonString in class ClassifierJSONLogging
      Returns:
      Error information in an XML like format.
    • writeJSONData

      public void writeJSONData(com.fasterxml.jackson.core.JsonGenerator jg, CTClassification ctClassification)
      Write JSON data after default TYPE and SPECIESID values have been added.
      Parameters:
      the - JSON data generator.
    • createClassification

      public CTClassification createClassification(com.fasterxml.jackson.databind.JsonNode jTree)
      Get classifier data after default TYPE and SPECIESID values has been
      Parameters:
      the - JSON node which contains data.
    • createClassification

      public CTClassification createClassification(String jsonString)
      Description copied from class: ClassifierJSONLogging
      Get the CT classification from a string
      Specified by:
      createClassification in class ClassifierJSONLogging
      Parameters:
      jsonString - - the input string.
      Returns: