import org.opendaylight.yangtools.yang.data.util.NormalizedNodeStreamWriterStack;
import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
import org.opendaylight.yangtools.yang.model.api.EffectiveStatementInference;
-import org.opendaylight.yangtools.yang.model.api.SchemaPath;
import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
NormalizedNodeStreamWriterStack.of(inference));
}
- /**
- * Create a new writer with the specified context and rooted in the specified schema path.
- *
- * @param writer Output {@link XMLStreamWriter}
- * @param context Associated {@link EffectiveModelContext}.
- * @param path path
- * @return A new {@link NormalizedNodeStreamWriter}
- * @deprecated Use one of the alternative overloads.
- */
- @Deprecated(since = "9.0.1", forRemoval = true)
- public static @NonNull NormalizedNodeStreamWriter create(final XMLStreamWriter writer,
- final EffectiveModelContext context, final SchemaPath path) {
- return new SchemaAwareXMLStreamNormalizedNodeStreamWriter(writer, context,
- NormalizedNodeStreamWriterStack.of(context, path));
- }
-
/**
* Create a new writer with the specified context and rooted in the specified schema path.
*