Enum ISchemaGenerator.SchemaFormat
- java.lang.Object
-
- java.lang.Enum<ISchemaGenerator.SchemaFormat>
-
- gov.nist.secauto.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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ISchemaGenerator
getSchemaGenerator()
static ISchemaGenerator.SchemaFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static ISchemaGenerator.SchemaFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JSON
public static final ISchemaGenerator.SchemaFormat JSON
a JSON Schema.
-
XML
public static final ISchemaGenerator.SchemaFormat XML
an XML Schema.
-
-
Method Detail
-
values
public static ISchemaGenerator.SchemaFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ISchemaGenerator.SchemaFormat c : ISchemaGenerator.SchemaFormat.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
getSchemaGenerator
public ISchemaGenerator getSchemaGenerator()
-
-