Uses of Class
dev.metaschema.schemagen.SchemaGenerationFeature
Packages that use SchemaGenerationFeature
Package
Description
Provides schema generation capabilities for Metaschema modules.
Provides JSON Schema generation from Metaschema modules.
Provides XML Schema (XSD) generation from Metaschema modules.
-
Uses of SchemaGenerationFeature in dev.metaschema.schemagen
Fields in dev.metaschema.schemagen declared as SchemaGenerationFeatureModifier and TypeFieldDescriptionstatic final SchemaGenerationFeature<Boolean>SchemaGenerationFeature.INLINE_CHOICE_DEFINITIONSIf enabled, child definitions of a choice that are defined inline will be generated as inline types.static final SchemaGenerationFeature<Boolean>SchemaGenerationFeature.INLINE_DEFINITIONSIf enabled, definitions that are defined inline will be generated as inline types.Method parameters in dev.metaschema.schemagen with type arguments of type SchemaGenerationFeatureModifier and TypeMethodDescriptionvoidAbstractSchemaGenerator.generateFromModule(IModule metaschema, Writer out, IConfiguration<SchemaGenerationFeature<?>> configuration) voidISchemaGenerator.generateFromModule(IModule metaschema, Writer writer, IConfiguration<SchemaGenerationFeature<?>> configuration) Generate and write a schema for the providedmetaschemato theWriterprovided bywriterusing the providedconfiguration.static voidISchemaGenerator.generateSchema(IModule module, Writer writer, ISchemaGenerator.SchemaFormat asFormat, IConfiguration<SchemaGenerationFeature<?>> configuration) Generate a schema for the provided module and write it to the specified writer.static voidISchemaGenerator.generateSchema(IModule module, Path destination, ISchemaGenerator.SchemaFormat asFormat, IConfiguration<SchemaGenerationFeature<?>> configuration) Generate a schema for the provided module and write it to the specified file path.protected abstract SAbstractSchemaGenerator.newGenerationState(IModule module, T schemaWriter, IConfiguration<SchemaGenerationFeature<?>> configuration) Create a new schema generation state object.static IInlineStrategyIInlineStrategy.newInlineStrategy(IConfiguration<SchemaGenerationFeature<?>> configuration) Create a new inline strategy based on the provided configuration.Constructor parameters in dev.metaschema.schemagen with type arguments of type SchemaGenerationFeatureModifierConstructorDescriptionAbstractGenerationState(IModule module, WRITER writer, IConfiguration<SchemaGenerationFeature<?>> configuration, DATATYPE_MANAGER datatypeManager) Construct a new generation state instance. -
Uses of SchemaGenerationFeature in dev.metaschema.schemagen.json
Method parameters in dev.metaschema.schemagen.json with type arguments of type SchemaGenerationFeatureModifier and TypeMethodDescriptionprotected dev.metaschema.schemagen.json.impl.JsonGenerationStateJsonSchemaGenerator.newGenerationState(IModule module, com.fasterxml.jackson.core.JsonGenerator schemaWriter, IConfiguration<SchemaGenerationFeature<?>> configuration) -
Uses of SchemaGenerationFeature in dev.metaschema.schemagen.xml
Method parameters in dev.metaschema.schemagen.xml with type arguments of type SchemaGenerationFeatureModifier and TypeMethodDescriptionprotected dev.metaschema.schemagen.xml.impl.XmlGenerationStateXmlSchemaGenerator.newGenerationState(IModule module, AutoCloser<org.codehaus.stax2.XMLStreamWriter2, SchemaGenerationException> schemaWriter, IConfiguration<SchemaGenerationFeature<?>> configuration)