- /**
- * Create a new writer with the specified context and rooted in the specified schema path.
- *
- * @param context Associated {@link EffectiveModelContext}
- * @param path schema path
- * @return A new {@link NormalizedNodeStreamWriterStack}
- * @throws NullPointerException if any argument is null
- * @throws IllegalArgumentException if {@code path} does not point to a valid root
- */
- @Deprecated(since = "7.0.0", forRemoval = true)
- public static @NonNull NormalizedNodeStreamWriterStack of(final EffectiveModelContext context,
- final SchemaPath path) {
- return new NormalizedNodeStreamWriterStack(SchemaInferenceStack.ofSchemaPath(context, path));
- }
-