Interface IItemWriteHandler
- All Known Implementing Classes:
MetaschemaJsonWriter
public interface IItemWriteHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeChoiceGroupItem
(IBoundObject item, IBoundInstanceModelChoiceGroup instance) Write an item.void
writeItemAssembly
(IBoundObject item, IBoundDefinitionModelAssembly definition) Write an item.void
writeItemAssembly
(IBoundObject item, IBoundInstanceModelAssembly instance) Write an item.void
writeItemAssembly
(IBoundObject item, IBoundInstanceModelGroupedAssembly instance) Write an item.void
writeItemField
(IBoundObject item, IBoundDefinitionModelFieldComplex definition) Write an item.void
writeItemField
(IBoundObject item, IBoundInstanceModelFieldComplex instance) Write an item.void
writeItemField
(IBoundObject item, IBoundInstanceModelGroupedField instance) Write an item.void
writeItemField
(Object item, IBoundInstanceModelFieldScalar instance) Write an item.void
writeItemFieldValue
(Object item, IBoundFieldValue fieldValue) Write an item.void
writeItemFlag
(Object item, IBoundInstanceFlag instance) Write an item.
-
Method Details
-
writeItemFlag
Write an item.- Parameters:
item
- the Java object representing the item to writeinstance
- the flag instance- Throws:
IOException
- if an error occurred while parsing
-
writeItemField
void writeItemField(@NonNull Object item, @NonNull IBoundInstanceModelFieldScalar instance) throws IOException Write an item.- Parameters:
item
- the Java object representing the item to writeinstance
- the field instance- Throws:
IOException
- if an error occurred while parsing
-
writeItemField
void writeItemField(@NonNull IBoundObject item, @NonNull IBoundInstanceModelFieldComplex instance) throws IOException Write an item.- Parameters:
item
- the Java object representing the item to writeinstance
- the field instance- Throws:
IOException
- if an error occurred while parsing
-
writeItemField
void writeItemField(@NonNull IBoundObject item, @NonNull IBoundInstanceModelGroupedField instance) throws IOException Write an item.- Parameters:
item
- the Java object representing the item to writeinstance
- the field instance- Throws:
IOException
- if an error occurred while parsing
-
writeItemField
void writeItemField(@NonNull IBoundObject item, @NonNull IBoundDefinitionModelFieldComplex definition) throws IOException Write an item.- Parameters:
item
- the Java object representing the item to writedefinition
- the field instance- Throws:
IOException
- if an error occurred while parsing
-
writeItemFieldValue
void writeItemFieldValue(@NonNull Object item, @NonNull IBoundFieldValue fieldValue) throws IOException Write an item.- Parameters:
item
- the Java object representing the item to writefieldValue
- the field value instance- Throws:
IOException
- if an error occurred while parsing
-
writeItemAssembly
void writeItemAssembly(@NonNull IBoundObject item, @NonNull IBoundInstanceModelAssembly instance) throws IOException Write an item.- Parameters:
item
- the Java object representing the item to writeinstance
- the assembly instance- Throws:
IOException
- if an error occurred while parsing
-
writeItemAssembly
void writeItemAssembly(@NonNull IBoundObject item, @NonNull IBoundInstanceModelGroupedAssembly instance) throws IOException Write an item.- Parameters:
item
- the Java object representing the item to writeinstance
- the assembly instance- Throws:
IOException
- if an error occurred while parsing
-
writeItemAssembly
void writeItemAssembly(@NonNull IBoundObject item, @NonNull IBoundDefinitionModelAssembly definition) throws IOException Write an item.- Parameters:
item
- the Java object representing the item to writedefinition
- the assembly instance- Throws:
IOException
- if an error occurred while parsing
-
writeChoiceGroupItem
void writeChoiceGroupItem(@NonNull IBoundObject item, @NonNull IBoundInstanceModelChoiceGroup instance) throws IOException Write an item.- Parameters:
item
- the Java object representing the item to writeinstance
- the choice group instance- Throws:
IOException
- if an error occurred while parsing
-