Interface WritableObject

All Known Subinterfaces:
WritableIdentifier
All Known Implementing Classes:
AbstractQName, BiMapYangNamespaceContext, DatastoreIdentifier, MountPointIdentifier, ObjectIdentifier, QName, QNameModule, UnresolvedQName, UnresolvedQName.Qualified, UnresolvedQName.Unqualified

@Beta public interface WritableObject
Marker interface for an object which can be written out to an DataOutput. Classes implementing this interface should declare a corresponding
      public static CLASS readFrom(DataInput in) throws IOException;
 

The serialization format provided by this abstraction does not guarantee versioning. Callers are responsible for ensuring the source stream is correctly positioned.

Author:
Robert Varga
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeTo(@NonNull DataOutput out)
    Serialize this object into a DataOutput as a fixed-format stream.