Uses of Interface
gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModelComplex
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.
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 IBoundDefinitionModelComplex in gov.nist.secauto.metaschema.databind
Modifier and TypeMethodDescriptionAbstractModuleLoaderStrategy.getBoundDefinitionForClass
(Class<? extends IBoundObject> clazz, IBindingContext bindingContext) DefaultBindingContext.getBoundDefinitionForClass
(Class<? extends IBoundObject> clazz) IBindingContext.getBoundDefinitionForClass
(Class<? extends IBoundObject> clazz) Get theIBoundDefinitionModel
instance associated with the provided Java class.IBindingContext.IModuleLoaderStrategy.getBoundDefinitionForClass
(Class<? extends IBoundObject> clazz, IBindingContext bindingContext) Get theIBoundDefinitionModel
instance associated with the provided Java class.PostProcessingModuleLoaderStrategy.getBoundDefinitionForClass
(Class<? extends IBoundObject> clazz, IBindingContext bindingContext) DefaultBindingContext.registerClassBinding
(IBoundDefinitionModelComplex definition) IBindingContext.registerClassBinding
(IBoundDefinitionModelComplex definition) Register a class binding for a given bound class.Modifier and TypeMethodDescriptionDefaultBindingContext.registerClassBinding
(IBoundDefinitionModelComplex definition) IBindingContext.registerClassBinding
(IBoundDefinitionModelComplex definition) Register a class binding for a given bound class. -
Uses of IBoundDefinitionModelComplex in gov.nist.secauto.metaschema.databind.io
Modifier and TypeMethodDescriptionvoid
AbstractProblemHandler.handleMissingInstances
(IBoundDefinitionModelComplex parentDefinition, IBoundObject targetObject, Collection<? extends IBoundProperty<?>> unhandledInstances) void
IProblemHandler.handleMissingInstances
(IBoundDefinitionModelComplex parentDefinition, IBoundObject targetObject, Collection<? extends IBoundProperty<?>> unhandledInstances) A callback used to handle bound properties for which no data was found when the content was parsed.void
IWritingContext.write
(IBoundDefinitionModelComplex definition, IBoundObject targetObject) Write the data described by the providedtargetObject
as an XML element. -
Uses of IBoundDefinitionModelComplex in gov.nist.secauto.metaschema.databind.io.json
Modifier and TypeMethodDescriptionboolean
DefaultJsonProblemHandler.handleUnknownProperty
(IBoundDefinitionModelComplex classBinding, IBoundObject targetObject, String fieldName, com.fasterxml.jackson.core.JsonParser parser) boolean
IJsonProblemHandler.handleUnknownProperty
(IBoundDefinitionModelComplex definition, IBoundObject parentItem, String fieldName, com.fasterxml.jackson.core.JsonParser parser) Callback used to handle a JSON property that is unknown to the model being parsed.<T> T
MetaschemaJsonReader.readObject
(IBoundDefinitionModelComplex definition) <T> T
MetaschemaJsonReader.readObjectRoot
(IBoundDefinitionModelComplex definition, String expectedFieldName) void
MetaschemaJsonWriter.write
(IBoundDefinitionModelComplex definition, IBoundObject item) -
Uses of IBoundDefinitionModelComplex in gov.nist.secauto.metaschema.databind.io.xml
Modifier and TypeMethodDescriptiondefault void
IXmlProblemHandler.handleMissingFlagInstances
(IBoundDefinitionModelComplex parentDefinition, IBoundObject targetObject, Collection<IBoundInstanceFlag> unhandledInstances) A callback used to handle bound flag instances for which no data was found when the content was parsed.boolean
DefaultXmlProblemHandler.handleUnknownAttribute
(IBoundDefinitionModelComplex parentDefinition, IBoundObject targetObject, Attribute attribute, IXmlParsingContext parsingContext) default boolean
IXmlProblemHandler.handleUnknownAttribute
(IBoundDefinitionModelComplex parentDefinition, IBoundObject targetObject, Attribute attribute, IXmlParsingContext parsingContext) Callback used to handle an attribute that is unknown to the model being parsed.<CLASS> CLASS
IXmlParsingContext.read
(IBoundDefinitionModelComplex definition) Parses XML into a bound object based on the provideddefinition
.<CLASS> CLASS
MetaschemaXmlReader.read
(IBoundDefinitionModelComplex definition) Parses XML into a bound object based on the provideddefinition
.protected void
MetaschemaXmlReader.readFlagInstances
(IBoundDefinitionModelComplex targetDefinition, IBoundObject targetObject, StartElement start) Read the XML attribute data described by thetargetDefinition
and apply it to the providedtargetObject
.void
MetaschemaXmlWriter.write
(IBoundDefinitionModelComplex definition, IBoundObject item) -
Uses of IBoundDefinitionModelComplex in gov.nist.secauto.metaschema.databind.model
Modifier and TypeInterfaceDescriptioninterface
Represents an assembly definition bound to a Java class.interface
Represents a field definition bound to a Java class. -
Uses of IBoundDefinitionModelComplex in gov.nist.secauto.metaschema.databind.model.info
Modifier and TypeMethodDescriptionIFeatureComplexItemValueHandler.getDefinition()
Get the Metaschema definition representing the bound complex data.