PathArgument readPathArgument() throws IOException;
- @Deprecated(forRemoval = true)
+ @Deprecated(since = "5.0.0", forRemoval = true)
SchemaPath readSchemaPath() throws IOException;
SchemaNodeIdentifier readSchemaNodeIdentifier() throws IOException;
* @return a new {@link NormalizedNodeDataInput} instance
* @deprecated Use {@link #newDataInput(DataInput)} instead.
*/
- @Deprecated(forRemoval = true)
+ @Deprecated(since = "5.0.0", forRemoval = true)
static @NonNull NormalizedNodeDataInput newDataInputWithoutValidation(final @NonNull DataInput input) {
return new VersionedNormalizedNodeDataInput(input);
}
* @param path root path
* @deprecated Use either one of the alternative constructors instead.
*/
- @Deprecated(since = "7.0.11")
+ @Deprecated(since = "7.0.11", forRemoval = true)
public SchemaOrderedNormalizedNodeWriter(final NormalizedNodeStreamWriter writer,
final EffectiveModelContext schemaContext, final SchemaPath path) {
this(writer, SchemaInferenceStack.ofSchemaPath(schemaContext, path));
* @throws NullPointerException if any argument is null
* @throws IllegalArgumentException if {@code path} does not point to a valid root
*/
- @Deprecated
+ @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));
* @throws IllegalArgumentException if {@code path} cannot be resolved in the effective model or if it is not an
* absolute path.
*/
- @Deprecated
+ @Deprecated(since = "7.0.0", forRemoval = true)
public static @NonNull SchemaInferenceStack ofInstantiatedPath(final EffectiveModelContext effectiveModel,
final SchemaPath path) {
checkArgument(path.isAbsolute(), "Cannot operate on relative path %s", path);
* @throws IllegalArgumentException if {@code path} cannot be resolved in the effective model or if it is not an
* absolute path.
*/
- @Deprecated
+ @Deprecated(since = "7.0.2", forRemoval = true)
public static @NonNull SchemaInferenceStack ofSchemaPath(final EffectiveModelContext effectiveModel,
final SchemaPath path) {
checkArgument(path.isAbsolute(), "Cannot operate on relative path %s", path);
* @throws IllegalStateException if current state is not instantiated
* @deprecated This method is meant only for interoperation with SchemaPath-based APIs.
*/
- @Deprecated
+ @Deprecated(since = "5.0.0", forRemoval = true)
public @NonNull SchemaPath toSchemaPath() {
return SchemaPath.create(simplePathFromRoot(), true);
}
* {@code toSchemaPath().getPathFromRoot().iterator()}.
*
* @return An unmodifiable iterator
+ * @deprecated Use {@link #toSchemaTreeInference()} instead.
*/
- @Deprecated
+ @Deprecated(since = "5.0.0", forRemoval = true)
public @NonNull Iterator<QName> schemaPathIterator() {
return Iterators.unmodifiableIterator(simplePathFromRoot().iterator());
}