| Package | Description |
|---|---|
| org.asn1s.api | |
| org.asn1s.api.constraint | |
| org.asn1s.api.module | |
| org.asn1s.api.type | |
| org.asn1s.api.value | |
| org.asn1s.api.value.x680 |
| Modifier and Type | Method and Description |
|---|---|
Type |
Scope.getTypeOrDie() |
Type |
Scope.resolveType(TypeName typeName)
Resolves type in this module
|
| Modifier and Type | Method and Description |
|---|---|
Ref<Type> |
TemplateParameter.getGovernor() |
Ref<Type> |
Scope.getTypeRef(String ref,
String module)
Get or create reference by name
|
Ref<Type> |
UniversalType.ref() |
Ref<Type> |
BuiltinClass.ref() |
| Modifier and Type | Method and Description |
|---|---|
Scope |
Scope.typedScope(Type type) |
| Modifier and Type | Method and Description |
|---|---|
Constraint |
ConstraintTemplate.build(Scope scope,
Type type) |
Constraint |
Constraint.copyForType(Scope scope,
Type type) |
| Modifier and Type | Method and Description |
|---|---|
ConstraintTemplate |
ConstraintFactory.containedSubtype(Ref<Type> typeRef,
boolean includes) |
ConstraintTemplate |
ConstraintFactory.tableConstraint(Ref<Type> objectSet,
List<RelationItem> relationItems) |
ConstraintTemplate |
ConstraintFactory.type(Ref<Type> typeRef) |
ConstraintTemplate |
ConstraintFactory.valuesFromSet(Ref<Type> setRef) |
| Modifier and Type | Method and Description |
|---|---|
Type |
TypeResolver.resolve(TypeName typeName) |
| Modifier and Type | Method and Description |
|---|---|
Ref<Type> |
TypeResolver.getTypeRef(String ref,
String module) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClassFieldType |
interface |
ClassType |
interface |
CollectionOfType |
interface |
CollectionType |
interface |
CollectionTypeExtensionGroup |
interface |
ComponentType |
interface |
DefinedType |
interface |
Enumerated |
interface |
NamedType |
interface |
TaggedType |
| Modifier and Type | Method and Description |
|---|---|
Type |
TypeFactory.builtin(String typeName,
Collection<NamedValue> namedValues) |
Type |
TypeFactory.constrained(ConstraintTemplate constraintTemplate,
Ref<Type> typeRef) |
Type |
Type.copy()
Copy this type.
|
Type |
ComponentType.getComponentType() |
default Type |
Type.getSibling()
Returns sibling type if any
|
Type |
TypeFactory.instanceOf(Ref<Type> classTypeRef) |
Type |
ClassFieldRef.resolve(Scope scope) |
Type |
TypeNameRef.resolve(Scope scope) |
Type |
InstanceOfTypeSelector.resolveInstanceOfType(Scope scope) |
Type |
TypeFactory.selectionType(String componentName,
Ref<Type> typeRef) |
Type |
TypeFactory.tagged(IEncoding encoding,
Ref<Type> typeRef) |
Type |
TypeFactory.typeTemplateInstance(Ref<Type> ref,
List<Ref<?>> arguments) |
| Modifier and Type | Method and Description |
|---|---|
Ref<Type> |
TypeFactory.builtin(String typeName) |
Ref<Type> |
ComponentType.getComponentTypeRef() |
Ref<Type> |
DefinedType.toRef() |
Ref<Type> |
TypeFactory.typeFromObjectRef(Ref<?> source,
List<String> path,
String name) |
Ref<Type> |
TypeFactory.valueSetFromObjectRef(Ref<?> source,
String path,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentTypeConsumer.addExtensionGroup(Type extensionGroup) |
| Modifier and Type | Method and Description |
|---|---|
default void |
ComponentTypeConsumer.addComponent(ComponentType.Kind kind,
String name,
Ref<Type> typeRef) |
void |
ComponentTypeConsumer.addComponent(ComponentType.Kind kind,
String name,
Ref<Type> typeRef,
boolean optional,
Ref<Value> defaultValue) |
void |
ComponentTypeConsumer.addComponentsFromType(ComponentType.Kind kind,
Ref<Type> typeRef) |
Type |
TypeFactory.constrained(ConstraintTemplate constraintTemplate,
Ref<Type> typeRef) |
DefinedType |
TypeFactory.define(String name,
Ref<Type> typeRef,
Collection<TemplateParameter> parameters) |
DefinedValue |
TypeFactory.define(String name,
Ref<Type> typeRef,
Ref<Value> valueRef,
Collection<TemplateParameter> parameters) |
ClassFieldType |
TypeFactory.fixedTypeValueField(String name,
Ref<Type> typeRef,
boolean unique,
boolean optional,
Ref<Value> defaultValue) |
ClassFieldType |
TypeFactory.fixedTypeValueSetField(String name,
Ref<Type> typeRef,
boolean optional,
ConstraintTemplate defaultElementSetSpecs) |
Type |
TypeFactory.instanceOf(Ref<Type> classTypeRef) |
Type |
TypeFactory.selectionType(String componentName,
Ref<Type> typeRef) |
Type |
TypeFactory.tagged(IEncoding encoding,
Ref<Type> typeRef) |
TemplateParameter |
TypeFactory.templateParameter(int index,
Ref<?> ref,
Ref<Type> governor) |
ClassFieldType |
TypeFactory.typeClassField(String name,
boolean optional,
Ref<Type> defaultTypeRef) |
Type |
TypeFactory.typeTemplateInstance(Ref<Type> ref,
List<Ref<?>> arguments) |
| Constructor and Description |
|---|
ClassFieldRef(Ref<Type> classTypeRef,
String name) |
| Modifier and Type | Method and Description |
|---|---|
OpenTypeValue |
ValueFactory.openTypeValue(Ref<Type> typeRef,
Ref<Value> valueRef) |
| Modifier and Type | Method and Description |
|---|---|
Type |
DefinedValue.getType() |
| Modifier and Type | Method and Description |
|---|---|
Ref<Type> |
OpenTypeValue.getType() |
Copyright © 2017. All rights reserved.