001/*
002 * SPDX-FileCopyrightText: none
003 * SPDX-License-Identifier: CC0-1.0
004 */
005
006package gov.nist.secauto.metaschema.databind.io.xml;
007
008import gov.nist.secauto.metaschema.core.model.IBoundObject;
009import gov.nist.secauto.metaschema.databind.io.IWritingContext;
010import gov.nist.secauto.metaschema.databind.model.IBoundDefinitionModelAssembly;
011
012import org.codehaus.stax2.XMLStreamWriter2;
013
014import java.io.IOException;
015
016import edu.umd.cs.findbugs.annotations.NonNull;
017
018public interface IXmlWritingContext extends IWritingContext<XMLStreamWriter2> {
019  void writeRoot(
020      @NonNull IBoundDefinitionModelAssembly definition,
021      @NonNull IBoundObject item) throws IOException;
022}