Interface Writable<T>

All Known Subinterfaces:
ClassLoaderMarshaller, FieldMarshaller<T>, FieldSetMarshaller<T,V>, FieldSetMarshaller.Simple<T>, FieldSetMarshaller.Supplied<T,V>, Marshallable<T>, ProtoStreamMarshaller<T>, ProtoStreamMarshallerProvider, ScalarMarshaller<T>, ScalarMarshallerProvider
All Known Implementing Classes:
AbstractCollectionMarshaller, AbstractMapMarshaller, AbstractMemberMarshaller, AnyMarshaller, AtomicMarshallerProvider, BigDecimalMarshaller, BinaryFieldMarshaller, BinaryMemberMarshaller, BinaryMethodMarshaller, ByteBufferMarshalledKeyMarshaller, ByteBufferMarshalledValueMarshaller, CalendarMarshaller, ClassMarshaller, CollectionMarshaller, ComparatorMarshaller, ConcurrentMapMarshaller, ConcurrentMarshallerProvider, ConcurrentSortedMapMarshaller, CopyOnWriteCollectionMarshaller, DecoratorMarshaller, DurationMarshaller, EnumMapMarshaller, EnumMarshaller, EnumMarshallerAdapter, EnumSetFieldSetMarshaller, ExceptionMarshaller, FieldMarshaller, FieldSetProtoStreamMarshaller, FunctionalMarshaller, FunctionalScalarMarshaller, InetAddressMarshaller, InetSocketAddressMarshaller, InstantMarshaller, LinkedHashMapMarshaller, LoadedClassField, LocalDateMarshaller, LocalDateTimeMarshaller, LocalTimeMarshaller, MapEntryMarshaller, MapMarshaller, MarshallingMarshallerProvider, MathContextMarshaller, MathMarshallerProvider, ModuleClassLoaderMarshaller, MonthDayMarshaller, NetMarshallerProvider, OffsetDateTimeMarshaller, OffsetTimeMarshaller, OptionalMarshaller, PackedArrayMarshaller, PeriodMarshaller, ProtoStreamMarshallerAdapter, ProxyMarshaller, Scalar, ScalarClass, ScalarFieldMarshaller, SimpleClassLoaderMarshaller, SimpleFunctionalMarshaller, SingletonCollectionMarshaller, SingletonMapMarshaller, SortedMapMarshaller, SortedSetMarshaller, SQLMarshallerProvider, StackTraceElementMarshaller, SynchronizedDecoratorMarshaller, TernaryFieldMarshaller, TernaryMemberMarshaller, TernaryMethodMarshaller, TimeMarshallerProvider, TypedArrayMarshaller, TypedEnumMarshaller, TypedObjectMarshaller, UnaryFieldMarshaller, UnaryMemberMarshaller, UnaryMethodMarshaller, UnmodifiableCollectionMarshaller, UnmodifiableMapMarshaller, URIMarshaller, URLMarshaller, UtilMarshallerProvider, UUIDMarshaller, ValueMarshaller, 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