Interface Writable<T>
- Type Parameters:
T- the written object type
- All Known Subinterfaces:
ClassLoaderMarshaller, FieldSetMarshaller<T,V>, FieldSetMarshaller.Entry<T, K, V>, FieldSetMarshaller.Simple<T>, FieldSetMarshaller.Supplied<T, V>, Marshallable<T>, ProtoStreamMarshaller<T>, ScalarMarshaller<T>
- All Known Implementing Classes:
AbstractCollectionMarshaller, AbstractMapMarshaller, AbstractMemberMarshaller, AddressMarshaller, AddressMarshaller, AddressSetFunctionMarshaller, BigDecimalMarshaller, BinaryFieldMarshaller, BinaryMemberMarshaller, BinaryMethodMarshaller, ByteBufferMarshalledKeyMarshaller, ByteBufferMarshalledValueMarshaller, CalendarMarshaller, CollectionFunctionMarshaller, CollectionMarshaller, ComparatorMarshaller, DecoratorMarshaller, DefaultSessionAccessMetaDataEntryMarshaller, DefaultSessionCreationMetaDataEntryMarshaller, DefaultSessionMetaDataEntryMarshaller, DurationMarshaller, EnumMarshaller, ExceptionMarshaller, FieldMarshaller, InetAddressMarshaller, InetSocketAddressMarshaller, LinkedHashMapMarshaller, LoadedClassField, LocalDateMarshaller, LocalDateTimeMarshaller, LocaleMarshaller, LocalTimeMarshaller, MapComputeFunctionMarshaller, MapEntryMarshaller, MapMarshaller, MathContextMarshaller, MonthDayMarshaller, OffsetDateTimeMarshaller, OffsetTimeMarshaller, PackedArrayMarshaller, PeriodMarshaller, PropertiesMarshaller, PropertyMarshaller, ProxyMarshaller, Scalar, ScalarClass, ScalarFieldMarshaller, ScheduleCommandMarshaller, SessionAttributeMapComputeFunctionMarshaller, SessionAttributeMapEntryMarshaller, SessionKeyMarshaller, SessionMetaDataEntryFunctionMarshaller, SimpleExpirationMetaDataMarshaller, SortedMapMarshaller, SortedSetMarshaller, StackTraceElementMarshaller, StringKeyMapEntryMarshaller, StringKeyMapMarshaller, SynchronizedDecoratorMarshaller, TernaryFieldMarshaller, TernaryMemberMarshaller, TernaryMethodMarshaller, TypedArrayMarshaller, TypedEnumMarshaller, TypedObjectMarshaller, UnaryFieldMarshaller, UnaryMemberMarshaller, UnaryMethodMarshaller, UUIDMarshaller, VersionMarshaller, 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
-