import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
import org.opendaylight.yangtools.yang.model.api.ListSchemaNode;
import org.opendaylight.yangtools.yang.model.api.SchemaNode;
-import org.opendaylight.yangtools.yang.model.api.SchemaPath;
import org.opendaylight.yangtools.yang.model.api.SchemaTreeInference;
import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute;
this(writer, SchemaInferenceStack.ofInference(rootInference));
}
- /**
- * Create a new writer backed by a {@link NormalizedNodeStreamWriter}.
- *
- * @param writer Back-end writer
- * @param schemaContext Associated {@link EffectiveModelContext}
- * @param path root path
- * @deprecated Use either one of the alternative constructors instead.
- */
- @Deprecated(since = "7.0.11", forRemoval = true)
- public SchemaOrderedNormalizedNodeWriter(final NormalizedNodeStreamWriter writer,
- final EffectiveModelContext schemaContext, final SchemaPath path) {
- this(writer, SchemaInferenceStack.ofSchemaPath(schemaContext, path));
- }
-
@Override
public SchemaOrderedNormalizedNodeWriter write(final NormalizedNode node) throws IOException {
if (schemaContext.equals(root)) {