Interface WritableObject

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

@NonNullByDefault 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. Various utility method for implementing the desired serialization format are available in WritableObjects.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Serialize this object into a DataOutput as a fixed-format stream.