Class ObjectNullableConverter<T>

  • All Implemented Interfaces:
    io.openapiprocessor.jsonschema.converter.PropertyConverter<T>
    Direct Known Subclasses:
    ObjectNotNullConverter

    public class ObjectNullableConverter<T>
    extends java.lang.Object
    implements io.openapiprocessor.jsonschema.converter.PropertyConverter<T>
    get a ObjectNullableConverter object from the property.
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectNullableConverter​(io.openapiprocessor.jsonschema.schema.Scope scope, Factory<T> factory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @Nullable T convert​(java.lang.String name, @Nullable java.lang.Object value, java.lang.String location)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.openapiprocessor.jsonschema.converter.PropertyConverter

        convert
    • Constructor Detail

      • ObjectNullableConverter

        public ObjectNullableConverter​(io.openapiprocessor.jsonschema.schema.Scope scope,
                                       Factory<T> factory)
    • Method Detail

      • convert

        public @Nullable T convert​(java.lang.String name,
                                   @Nullable java.lang.Object value,
                                   java.lang.String location)
        Specified by:
        convert in interface io.openapiprocessor.jsonschema.converter.PropertyConverter<T>