1
2
3
4
5
6 package gov.nist.secauto.metaschema.databind.model.info;
7
8 import gov.nist.secauto.metaschema.core.model.IBoundObject;
9 import gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModelAssembly;
10 import gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModelFieldComplex;
11 import gov.nist.secauto.metaschema.databind.model.IBoundFieldValue;
12 import gov.nist.secauto.metaschema.databind.model.IBoundInstanceFlag;
13 import gov.nist.secauto.metaschema.databind.model.IBoundInstanceModelAssembly;
14 import gov.nist.secauto.metaschema.databind.model.IBoundInstanceModelChoiceGroup;
15 import gov.nist.secauto.metaschema.databind.model.IBoundInstanceModelFieldComplex;
16 import gov.nist.secauto.metaschema.databind.model.IBoundInstanceModelFieldScalar;
17 import gov.nist.secauto.metaschema.databind.model.IBoundInstanceModelGroupedAssembly;
18 import gov.nist.secauto.metaschema.databind.model.IBoundInstanceModelGroupedField;
19
20 import java.io.IOException;
21
22 import edu.umd.cs.findbugs.annotations.NonNull;
23
24 public interface IItemWriteHandler {
25
26
27
28
29
30
31
32
33
34
35 void writeItemFlag(
36 @NonNull Object item,
37 @NonNull IBoundInstanceFlag instance) throws IOException;
38
39
40
41
42
43
44
45
46
47
48
49 void writeItemField(
50 @NonNull Object item,
51 @NonNull IBoundInstanceModelFieldScalar instance) throws IOException;
52
53
54
55
56
57
58
59
60
61
62
63 void writeItemField(
64 @NonNull IBoundObject item,
65 @NonNull IBoundInstanceModelFieldComplex instance) throws IOException;
66
67
68
69
70
71
72
73
74
75
76
77 void writeItemField(
78 @NonNull IBoundObject item,
79 @NonNull IBoundInstanceModelGroupedField instance) throws IOException;
80
81
82
83
84
85
86
87
88
89
90
91 void writeItemField(
92 @NonNull IBoundObject item,
93 @NonNull IBoundDefinitionModelFieldComplex definition) throws IOException;
94
95
96
97
98
99
100
101
102
103
104
105 void writeItemFieldValue(
106 @NonNull Object item,
107 @NonNull IBoundFieldValue fieldValue) throws IOException;
108
109
110
111
112
113
114
115
116
117
118
119 void writeItemAssembly(
120 @NonNull IBoundObject item,
121 @NonNull IBoundInstanceModelAssembly instance) throws IOException;
122
123
124
125
126
127
128
129
130
131
132
133 void writeItemAssembly(
134 @NonNull IBoundObject item,
135 @NonNull IBoundInstanceModelGroupedAssembly instance) throws IOException;
136
137
138
139
140
141
142
143
144
145
146
147 void writeItemAssembly(
148 @NonNull IBoundObject item,
149 @NonNull IBoundDefinitionModelAssembly definition) throws IOException;
150
151
152
153
154
155
156
157
158
159
160
161 void writeChoiceGroupItem(
162 @NonNull IBoundObject item,
163 @NonNull IBoundInstanceModelChoiceGroup instance) throws IOException;
164
165 }