Uses of Interface
gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModelAssembly
Package
Description
Support for parsing Metaschema module-based data using Java class bindings.
Provides core functionality for reading and writing instance data to and from
bound objects.
Supports reading and writing JSON instance data.
Supports reading and writing XML instance data.
Supports reading and writing YAML instance data.
Provides an overlay of the Metaschema module model
(
gov.nist.secauto.metaschema.core.model
) using bound Java class
annotations (gov.nist.secauto.metaschema.databind.model.annotations
)
to represent module constructs annotated on Java classes.-
Uses of IBoundDefinitionModelAssembly in gov.nist.secauto.metaschema.databind
Modifier and TypeMethodDescriptionIBindingContext.IBindingMatcher.of
(IBoundDefinitionModelAssembly assembly) Construct a new binding matcher for the provided assembly definition.protected IBindingContext.IBindingMatcher
AbstractModuleLoaderStrategy.registerBindingMatcher
(IBoundDefinitionModelAssembly definition) -
Uses of IBoundDefinitionModelAssembly in gov.nist.secauto.metaschema.databind.io
ModifierConstructorDescriptionprotected
AbstractDeserializer
(IBoundDefinitionModelAssembly definition) Construct a new deserializer.AbstractSerializer
(IBoundDefinitionModelAssembly definition) Construct a new serializer. -
Uses of IBoundDefinitionModelAssembly in gov.nist.secauto.metaschema.databind.io.json
Modifier and TypeMethodDescriptionMetaschemaJsonReader.readItemAssembly
(IBoundObject parentItem, IBoundDefinitionModelAssembly definition) void
MetaschemaJsonWriter.writeItemAssembly
(IBoundObject item, IBoundDefinitionModelAssembly definition) ModifierConstructorDescriptionDefaultJsonDeserializer
(IBoundDefinitionModelAssembly definition) Construct a new JSON deserializer that will parse the bound class identified by theclassBinding
.DefaultJsonSerializer
(IBoundDefinitionModelAssembly definition) Construct a new Module binding-based deserializer that reads JSON-based Module content. -
Uses of IBoundDefinitionModelAssembly in gov.nist.secauto.metaschema.databind.io.xml
Modifier and TypeMethodDescriptiondefault void
IXmlProblemHandler.handleMissingModelInstances
(IBoundDefinitionModelAssembly parentDefinition, IBoundObject targetObject, Collection<? extends IBoundInstanceModel<?>> unhandledInstances) A callback used to handle bound model instances for which no data was found when the content was parsed.default boolean
IXmlProblemHandler.handleUnknownElement
(IBoundDefinitionModelAssembly parentDefinition, IBoundObject targetObject, StartElement start, IXmlParsingContext parsingContext) Callback used to handle an element that is unknown to the model being parsed.protected void
MetaschemaXmlReader.readModelInstances
(IBoundDefinitionModelAssembly targetDefinition, IBoundObject targetObject) Read the XML element data described by thetargetDefinition
and apply it to the providedtargetObject
.void
IXmlWritingContext.writeRoot
(IBoundDefinitionModelAssembly definition, IBoundObject item) void
MetaschemaXmlWriter.writeRoot
(IBoundDefinitionModelAssembly definition, IBoundObject item) ModifierConstructorDescriptionDefaultXmlDeserializer
(IBoundDefinitionModelAssembly definition) Construct a new Module binding-based deserializer that reads XML-based Module content.DefaultXmlSerializer
(IBoundDefinitionModelAssembly definition) Construct a new XML serializer based on the top-level assembly indicated by the providedclassBinding
. -
Uses of IBoundDefinitionModelAssembly in gov.nist.secauto.metaschema.databind.io.yaml
ModifierConstructorDescriptionDefaultYamlDeserializer
(IBoundDefinitionModelAssembly definition) Construct a new YAML deserializer that will parse the bound class identified by theclassBinding
.DefaultYamlSerializer
(IBoundDefinitionModelAssembly definition) Construct a new YAML serializer that will generate YAML content based on data in the bound class identified by theclassBinding
. -
Uses of IBoundDefinitionModelAssembly in gov.nist.secauto.metaschema.databind.model
Modifier and TypeMethodDescriptionAbstractBoundModule.getAssemblyDefinitionByName
(QName name) IBoundModule.getAssemblyDefinitionByName
(QName name) IBoundInstanceModel.getContainingDefinition()
default IBoundDefinitionModelAssembly
IBoundInstanceModelChoiceGroup.getContainingDefinition()
IBoundInstanceModelFieldScalar.getContainingDefinition()
default IBoundDefinitionModelAssembly
IBoundInstanceModelGroupedNamed.getContainingDefinition()
default IBoundDefinitionModelAssembly
IBoundDefinitionModelAssembly.getDefinition()
IBoundInstanceModelAssembly.getDefinition()
IBoundInstanceModelGroupedAssembly.getDefinition()
IBoundContainerModelAssembly.getOwningDefinition()
default IBoundDefinitionModelAssembly
IBoundDefinitionModelAssembly.getOwningDefinition()
IBoundInstanceModelChoiceGroup.getOwningDefinition()
Modifier and TypeMethodDescriptionprotected Map<QName,
IBoundDefinitionModelAssembly> AbstractBoundModule.getAssemblyDefinitionMap()
Get the mapping of assembly definition effective name to definition.AbstractBoundModule.getAssemblyDefinitions()
IBoundModule.getAssemblyDefinitions()
Modifier and TypeMethodDescriptionstatic IBoundInstanceModelAssembly
IBoundInstanceModelAssembly.newInstance
(Field field, IBoundDefinitionModelAssembly containingDefinition) Create a new bound assembly instance.IBoundInstanceModelChoiceGroup.newInstance
(Field field, IBoundDefinitionModelAssembly containingDefinition) Create a new bound choice group instance.static IBoundInstanceModelField<?>
IBoundInstanceModelField.newInstance
(Field field, IBoundDefinitionModelAssembly containingDefinition) Create a new bound field instance. -
Uses of IBoundDefinitionModelAssembly in gov.nist.secauto.metaschema.databind.model.info
Modifier and TypeMethodDescriptionIItemReadHandler.readItemAssembly
(IBoundObject parent, IBoundDefinitionModelAssembly definition) Parse and return an item.void
IItemWriteHandler.writeItemAssembly
(IBoundObject item, IBoundDefinitionModelAssembly definition) Write an item.