org.apache.synapse.commons.json.jsonprocessor.validators

## Class NullValidator

- java.lang.Object
- - org.apache.synapse.commons.json.jsonprocessor.validators.NullValidator

-     public class NullValidator
      extends java.lang.Object

  This class validate null values against a given schema.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `validateNull(com.google.gson.JsonObject inputObject, java.lang.String value)` Validate a null input against schema.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### validateNull

          public static void validateNull(com.google.gson.JsonObject inputObject,
                                          java.lang.String value)
                                   throws ValidatorException

      Validate a null input against schema.
      Parameters:
        `inputObject` - input schema.
        `value` - null value.
      Throws:
        `ValidatorException` - exception occurs in validation.

Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.