1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package gov.nist.secauto.metaschema.databind.io.xml;
7   
8   import gov.nist.secauto.metaschema.core.model.IBoundObject;
9   import gov.nist.secauto.metaschema.databind.io.IWritingContext;
10  import gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModelAssembly;
11  
12  import org.codehaus.stax2.XMLStreamWriter2;
13  
14  import java.io.IOException;
15  
16  import edu.umd.cs.findbugs.annotations.NonNull;
17  
18  public interface IXmlWritingContext extends IWritingContext<XMLStreamWriter2> {
19    void writeRoot(
20        @NonNull IBoundDefinitionModelAssembly definition,
21        @NonNull IBoundObject item) throws IOException;
22  }