Interface Writable<T>

Type Parameters:
T - the written object type
All Known Subinterfaces:
ClassLoaderMarshaller, FieldSetMarshaller<T,V>, FieldSetMarshaller.Simple<T>, FieldSetMarshaller.Supplied<T,V>, Marshallable<T>, ProtoStreamMarshaller<T>, ScalarMarshaller<T>
All Known Implementing Classes:
AbstractCollectionMarshaller, AbstractMapMarshaller, AbstractMemberMarshaller, BigDecimalMarshaller, BinaryFieldMarshaller, BinaryMemberMarshaller, BinaryMethodMarshaller, ByteBufferMarshalledKeyMarshaller, ByteBufferMarshalledValueMarshaller, CalendarMarshaller, ClassMarshaller, CollectionMarshaller, ComparatorMarshaller, DecoratorMarshaller, DurationMarshaller, EnumMapMarshaller, EnumMarshaller, EnumSetFieldSetMarshaller, ExceptionMarshaller, FieldMarshaller, InetAddressMarshaller, InetSocketAddressMarshaller, LinkedHashMapMarshaller, LoadedClassField, LocalDateMarshaller, LocalDateTimeMarshaller, LocaleMarshaller, LocalTimeMarshaller, MapEntryMarshaller, MapMarshaller, MathContextMarshaller, MonthDayMarshaller, OffsetDateTimeMarshaller, OffsetTimeMarshaller, PackedArrayMarshaller, PeriodMarshaller, ProxyMarshaller, Scalar, ScalarClass, ScalarFieldMarshaller, SortedMapMarshaller, SortedSetMarshaller, StackTraceElementMarshaller, SynchronizedDecoratorMarshaller, TernaryFieldMarshaller, TernaryMemberMarshaller, TernaryMethodMarshaller, TypedArrayMarshaller, TypedEnumMarshaller, TypedObjectMarshaller, UnaryFieldMarshaller, UnaryMemberMarshaller, UnaryMethodMarshaller, UUIDMarshaller, YearMarshaller, YearMonthMarshaller, ZonedDateTimeMarshaller, ZoneOffsetMarshaller

public interface Writable<T>
Writable view of a marshaller.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeTo(ProtoStreamWriter writer, T value)
    Writes the specified object to the specified writer.
  • Method Details

    • writeTo

      void writeTo(ProtoStreamWriter writer, T value) throws IOException
      Writes the specified object to the specified writer.
      Parameters:
      writer - a ProtoStream writer
      value - the object to be written
      Throws:
      IOException - if the object could not be written