*/
@NonNullByDefault
public enum NormalizedNodeStreamVersion {
- /**
- * Original stream version, as shipped in OpenDaylight Lithium simultaneous release. The caveat here is that this
- * version has augmented in OpenDaylight Oxygen to retrofit a non-null representation of the empty type.
- *
- * @deprecated This version cannot be written in and always required adaption. This version should not be relied
- * upon, as it is subject to removal in a future version.
- */
- @Deprecated(since = "11.0.0", forRemoval = true)
- LITHIUM {
- /**
- * {@inheritDoc}
- * @implSpec
- * This method always throws {@link UnsupportedOperationException}.
- * @deprecated This version is a historic one and writeout is not supported
- */
- @Override
- @Deprecated(since = "10.0.0", forRemoval = true)
- public NormalizedNodeDataOutput newDataOutput(final DataOutput output) {
- throw new UnsupportedOperationException();
- }
- },
- /**
- * Updated stream version, as shipped in OpenDaylight Neon SR2 release. Improves identifier encoding over
- * {@link #LITHIUM}, so that QName caching is more effective.
- *
- * @deprecated This version cannot be written in and always required adaption. This version should not be relied
- * upon, as it is subject to removal in a future version.
- */
- @Deprecated(since = "11.0.0", forRemoval = true)
- NEON_SR2 {
- /**
- * {@inheritDoc}
- * @implSpec
- * This method always throws {@link UnsupportedOperationException}.
- * @deprecated This version is a historic one and writeout is not supported
- */
- @Override
- @Deprecated(since = "10.0.0", forRemoval = true)
- public NormalizedNodeDataOutput newDataOutput(final DataOutput output) {
- throw new UnsupportedOperationException();
- }
- },
- /**
- * First shipping in Sodium SR1. Improved stream coding to eliminate redundancies present in {@link #NEON_SR2}.
- * Supports {@code Uint8} et al. as well as {@link BigInteger}.
- *
- * @deprecated This version cannot be written in and always required adaption. This version should not be relied
- * upon, as it is subject to removal in a future version.
- */
- @Deprecated(since = "11.0.0", forRemoval = true)
- SODIUM_SR1 {
- /**
- * {@inheritDoc}
- * @implSpec
- * This method always throws {@link UnsupportedOperationException}.
- * @deprecated This version is a historic one and writeout is not supported
- */
- @Override
- @Deprecated(since = "10.0.0", forRemoval = true)
- public NormalizedNodeDataOutput newDataOutput(final DataOutput output) {
- throw new UnsupportedOperationException();
- }
- },
/**
* First shipping is Magnesium. Does not support {@link BigInteger} mirroring it being superseded by {@link Uint64}
* in {@link ValueNode#body()}.