@Deprecated
public static @NonNull NormalizedNodeStreamWriterStack of(final EffectiveModelContext context,
final SchemaPath path) {
- return new NormalizedNodeStreamWriterStack(SchemaInferenceStack.ofInstantiatedPath(context, path));
+ return new NormalizedNodeStreamWriterStack(SchemaInferenceStack.ofSchemaPath(context, path));
}
/**
checkArgument(parent instanceof DataNodeContainer, "Augmentation allowed only in DataNodeContainer", parent);
final AugmentationSchemaNode schema = findSchemaForAugment((AugmentationTarget) parent,
identifier.getPossibleChildNames());
- final AugmentationSchemaNode resolvedSchema = EffectiveAugmentationSchema.create(schema,
+ final AugmentationSchemaNode resolvedSchema = new EffectiveAugmentationSchema(schema,
(DataNodeContainer) parent);
schemaStack.push(resolvedSchema);
return resolvedSchema;