Enum ISchemaGenerator.SchemaFormat

java.lang.Object
java.lang.Enum<ISchemaGenerator.SchemaFormat>
dev.metaschema.schemagen.ISchemaGenerator.SchemaFormat
All Implemented Interfaces:
Serializable, Comparable<ISchemaGenerator.SchemaFormat>
Enclosing interface:
ISchemaGenerator

public static enum ISchemaGenerator.SchemaFormat extends Enum<ISchemaGenerator.SchemaFormat>
Identifies the supported schema generation formats.
  • Enum Constant Details

  • Method Details

    • values

      public static ISchemaGenerator.SchemaFormat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ISchemaGenerator.SchemaFormat valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getSchemaGenerator

      @NonNull public ISchemaGenerator getSchemaGenerator()
      Get the schema generator implementation for this format.
      Returns:
      the schema generator