Uses of Class
gov.nist.secauto.metaschema.schemagen.SchemaGenerationFeature
Package
Description
Abstract support for schema generation.
Provides JSON Schema generation capabilities based on a provided Module.
Provides XML Schema generation capabilities based on a provided Module.
-
Uses of SchemaGenerationFeature in gov.nist.secauto.metaschema.schemagen
Modifier and TypeFieldDescriptionstatic final SchemaGenerationFeature<Boolean>
SchemaGenerationFeature.INLINE_CHOICE_DEFINITIONS
If enabled, child definitions of a choice that are defined inline will be generated as inline types.static final SchemaGenerationFeature<Boolean>
SchemaGenerationFeature.INLINE_DEFINITIONS
If enabled, definitions that are defined inline will be generated as inline types.Modifier and TypeMethodDescriptionvoid
AbstractSchemaGenerator.generateFromModule
(IModule metaschema, Writer out, IConfiguration<SchemaGenerationFeature<?>> configuration) void
ISchemaGenerator.generateFromModule
(IModule metaschema, Writer writer, IConfiguration<SchemaGenerationFeature<?>> configuration) Generate and write a schema for the providedmetaschema
to theWriter
provided bywriter
using the providedconfiguration
.static void
ISchemaGenerator.generateSchema
(IModule module, Writer writer, ISchemaGenerator.SchemaFormat asFormat, IConfiguration<SchemaGenerationFeature<?>> configuration) static void
ISchemaGenerator.generateSchema
(IModule module, Path destination, ISchemaGenerator.SchemaFormat asFormat, IConfiguration<SchemaGenerationFeature<?>> configuration) protected abstract S
AbstractSchemaGenerator.newGenerationState
(IModule module, T schemaWriter, IConfiguration<SchemaGenerationFeature<?>> configuration) Create a new schema generation state object.static IInlineStrategy
IInlineStrategy.newInlineStrategy
(IConfiguration<SchemaGenerationFeature<?>> configuration) ModifierConstructorDescriptionAbstractGenerationState
(IModule module, WRITER writer, IConfiguration<SchemaGenerationFeature<?>> configuration, DATATYPE_MANAGER datatypeManager) -
Uses of SchemaGenerationFeature in gov.nist.secauto.metaschema.schemagen.json
Modifier and TypeMethodDescriptionprotected gov.nist.secauto.metaschema.schemagen.json.impl.JsonGenerationState
JsonSchemaGenerator.newGenerationState
(IModule module, com.fasterxml.jackson.core.JsonGenerator schemaWriter, IConfiguration<SchemaGenerationFeature<?>> configuration) -
Uses of SchemaGenerationFeature in gov.nist.secauto.metaschema.schemagen.xml
Modifier and TypeMethodDescriptionvoid
XmlSchemaGenerator.generateFromModule
(IModule module, Writer out, IConfiguration<SchemaGenerationFeature<?>> configuration) protected gov.nist.secauto.metaschema.schemagen.xml.impl.XmlGenerationState
XmlSchemaGenerator.newGenerationState
(IModule module, AutoCloser<org.codehaus.stax2.XMLStreamWriter2, SchemaGenerationException> schemaWriter, IConfiguration<SchemaGenerationFeature<?>> configuration)