Package org.forgerock.api.jackson
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
ASchemaFactoryWrapper
that adds the extra CREST schema attributes once the Jackson schema generation has been completed.
-
-
Constructor Summary
Constructors Constructor Description CrestPropertyDetailsSchemaFactoryWrapper()
Create a new wrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Constructor Detail
-
CrestPropertyDetailsSchemaFactoryWrapper
public CrestPropertyDetailsSchemaFactoryWrapper()
Create a new wrapper. Sets theCrestJsonSchemaFactory
in the parent class'sschemaProvider
so that all of the schema objects that are created support the appropriate API Descriptor extensions.
-
-
Method Detail
-
expectObjectFormat
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor expectObjectFormat(com.fasterxml.jackson.databind.JavaType convertedType)
- Specified by:
expectObjectFormat
in interfacecom.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper
- Overrides:
expectObjectFormat
in classcom.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
-
-