| Package | Description |
|---|---|
| com.io7m.smfj.validation.api |
Validation API.
|
| Modifier and Type | Method and Description |
|---|---|
SMFSchema |
SMFSchema.Builder.build()
Builds a new
SMFSchema. |
static SMFSchema |
SMFSchema.copyOf(SMFSchemaType instance)
Creates an immutable copy of a
SMFSchemaType value. |
static SMFSchema |
SMFSchema.of(SMFSchemaIdentifier schemaIdentifier,
javaslang.collection.SortedMap<SMFAttributeName,SMFSchemaAttribute> requiredAttributes,
javaslang.collection.SortedMap<SMFAttributeName,SMFSchemaAttribute> optionalAttributes,
Optional<SMFCoordinateSystem> requiredCoordinateSystem,
boolean allowExtraAttributes)
Construct a new immutable
SMFSchema instance. |
SMFSchema |
SMFSchema.withAllowExtraAttributes(boolean value)
Copy the current immutable object by setting a value for the
allowExtraAttributes attribute. |
SMFSchema |
SMFSchema.withOptionalAttributes(javaslang.collection.SortedMap<SMFAttributeName,SMFSchemaAttribute> value) |
SMFSchema |
SMFSchema.withRequiredAttributes(javaslang.collection.SortedMap<SMFAttributeName,SMFSchemaAttribute> value) |
SMFSchema |
SMFSchema.withRequiredCoordinateSystem(Optional<? extends SMFCoordinateSystem> optional)
Copy the current immutable object by setting an optional value for the
requiredCoordinateSystem attribute. |
SMFSchema |
SMFSchema.withRequiredCoordinateSystem(SMFCoordinateSystem value)
Copy the current immutable object by setting a present value for the optional
requiredCoordinateSystem attribute. |
SMFSchema |
SMFSchema.withSchemaIdentifier(SMFSchemaIdentifier value)
Copy the current immutable object by setting a value for the
schemaIdentifier attribute. |
| Modifier and Type | Method and Description |
|---|---|
javaslang.control.Validation<javaslang.collection.List<SMFErrorType>,SMFSchema> |
SMFSchemaParserType.parseSchema() |
| Modifier and Type | Method and Description |
|---|---|
void |
SMFSchemaSerializerType.serializeSchema(SMFSchema schema)
Serialize the schema.
|
javaslang.control.Validation<javaslang.collection.List<SMFErrorType>,SMFHeader> |
SMFSchemaValidatorType.validate(SMFHeader header,
SMFSchema schema)
Validate the given header against the given schema.
|
javaslang.control.Validation<javaslang.collection.List<SMFErrorType>,SMFHeader> |
SMFSchemaValidator.validate(SMFHeader header,
SMFSchema schema) |
Copyright © 2017 <code@io7m.com> http://io7m.com