Module: Omml::Configuration

Extended by:
Adapter, ContextRegistry, ModelRegistry, TypeResolver
Defined in:
lib/omml/configuration.rb,
lib/omml/configuration/adapter.rb,
lib/omml/configuration/type_resolver.rb,
lib/omml/configuration/model_registry.rb,
lib/omml/configuration/context_registry.rb

Defined Under Namespace

Modules: Adapter, ContextRegistry, ModelRegistry, TypeResolver

Constant Summary collapse

SCHEMA_MODEL_PREFIXES =
%w[CT EG ST].freeze
ROOT_TYPES =
{
  "oMath" => :o_math,
  "oMathPara" => :o_math_para,
}.freeze

Class Method Summary collapse

Methods included from Adapter

adapter, adapter=, xml_adapter

Methods included from ContextRegistry

context, create_context, populate_context!, require_context!, reset_context!

Methods included from ModelRegistry

model_id_for, register_model, registered_models

Methods included from TypeResolver

resolve_root_class, resolve_type, root_name_from_document

Class Method Details

.context_idObject



21
22
23
# File 'lib/omml/configuration.rb', line 21

def self.context_id
  :omml
end