java.lang.Object
gov.nist.secauto.metaschema.databind.io.AbstractProblemHandler
gov.nist.secauto.metaschema.databind.io.json.DefaultJsonProblemHandler
All Implemented Interfaces:
IProblemHandler, IJsonProblemHandler

  • Constructor Details

  • Method Details

    • handleUnknownProperty

      public boolean handleUnknownProperty(IBoundDefinitionModelComplex classBinding, IBoundObject targetObject, String fieldName, com.fasterxml.jackson.core.JsonParser parser) throws IOException
      Description copied from interface: IJsonProblemHandler
      Callback used to handle a JSON property that is unknown to the model being parsed.
      Specified by:
      handleUnknownProperty in interface IJsonProblemHandler
      Parameters:
      classBinding - the bound class currently describing the data being parsed
      targetObject - the Java object for the parentDefinition
      fieldName - the unknown JSON field name
      parser - the JSON reader context used for parsing
      Returns:
      true if the attribute was handled by this method, or false otherwise
      Throws:
      IOException - if an error occurred while handling the unrecognized data