Interface Writable<T>
- 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,AnyMarshaller,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 TypeMethodDescriptionvoidwriteTo(ProtoStreamWriter writer, T value) Writes the specified object to the specified writer.
-
Method Details
-
writeTo
Writes the specified object to the specified writer.- Parameters:
writer- a ProtoStream writervalue- the object to be written- Throws:
IOException- if the object could not be written
-