| Package | Description |
|---|---|
| org.asn1s.api | |
| org.asn1s.api.constraint | |
| org.asn1s.api.exception | |
| org.asn1s.api.module | |
| org.asn1s.api.type |
| Modifier and Type | Method and Description |
|---|---|
void |
Validation.validate(Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
Constraint.assertConstraintTypes(Collection<ConstraintType> allowedTypes)
Check constraint tree has constraints from allowed types only.
|
Constraint |
ConstraintTemplate.build(Scope scope,
Type type) |
void |
Constraint.check(Scope scope,
Ref<Value> valueRef) |
Constraint |
Constraint.copyForType(Scope scope,
Type type) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConstraintViolationException
Thrown when constraint fails.
|
class |
IllegalValueException |
| Modifier and Type | Method and Description |
|---|---|
default void |
Module.validate()
Validates this module and all its types, values.
|
void |
Module.validate(boolean types,
boolean values)
Validates this module and all its types, values.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ClassFieldType.accept(Scope scope,
Ref<Value> valueRef) |
void |
Type.accept(Scope scope,
Ref<Value> valueRef)
Accept value, use scope for resolution.
|
void |
ClassFieldType.acceptRef(Scope scope,
Ref<?> ref) |
Value |
Type.optimize(Scope scope,
Ref<Value> valueRef)
Optimize value to type native value kind.
|
Ref<?> |
ClassFieldType.optimizeRef(Scope scope,
Ref<?> ref) |
Copyright © 2017. All rights reserved.