Class CrestPropertyDetailsSchemaFactoryWrapper

java.lang.Object
com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
org.forgerock.api.jackson.CrestPropertyDetailsSchemaFactoryWrapper
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProvider, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper, com.fasterxml.jackson.module.jsonSchema.factories.Visitor

public class CrestPropertyDetailsSchemaFactoryWrapper extends com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
A SchemaFactoryWrapper that adds the extra CREST schema attributes once the Jackson schema generation has been completed.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper

    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Base
  • Field Summary

    Fields inherited from class com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper

    provider, schema, schemaProvider, visitorContext, visitorFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new wrapper.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor
    expectObjectFormat(com.fasterxml.jackson.databind.JavaType convertedType)
     

    Methods inherited from class com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper

    expectAnyFormat, expectArrayFormat, expectBooleanFormat, expectIntegerFormat, expectMapFormat, expectNullFormat, expectNumberFormat, expectStringFormat, finalSchema, getProvider, setProvider, setVisitorContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CrestPropertyDetailsSchemaFactoryWrapper

      public CrestPropertyDetailsSchemaFactoryWrapper()
      Create a new wrapper. Sets the CrestJsonSchemaFactory in the parent class's schemaProvider so that all of the schema objects that are created support the appropriate API Descriptor extensions.
  • Method Details

    • expectObjectFormat

      public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor expectObjectFormat(com.fasterxml.jackson.databind.JavaType convertedType)
      Specified by:
      expectObjectFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper
      Overrides:
      expectObjectFormat in class com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper