class SchemaRegistry extends AnyRef
Resolves type references across one or more parsed Asn1Modules. After construction all Asn1TypeReference nodes in every module's type assignments are resolved to their concrete types.
- Source
- SchemaRegistry.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SchemaRegistry
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SchemaRegistry(rawModules: Seq[Asn1Module])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val modules: Map[String, Asn1Module]
Module name → fully resolved Asn1Module
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def requireComplete(): Unit
Throws Asn1SchemaException if there are any unresolved type references.
Throws Asn1SchemaException if there are any unresolved type references. Unresolved references fall back to BinaryType at decode time; call this when strict schema completeness is required.
- def resolve(typeName: String, currentModule: String): Option[Asn1Type]
Look up a fully-qualified type (module.typeName or just typeName using currentModule).
- def resolveRef(ref: Asn1TypeReference, currentModule: String): Asn1Type
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tagDefaultOf(moduleName: String): TagDefault
Return the tag default of a module.
- def toString(): String
- Definition Classes
- AnyRef → Any
- val unresolvedReferences: Set[String]
Unresolved type names found after both resolution passes (empty = fully resolved).
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)