PrimitiveWorkContextAsciiWorkContext, LongWorkContext, SerializableWorkContext, StringWorkContextpublic interface WorkContext
WorkContext is a marker interface used for marshaling
 and unmarshaling user data in a WorkArea. The
 interfaces WorkContextOutput and
 WorkContextInput will only allow primtive types and
 objects implementing WorkContext to be marshaled. This
 limits the type surface area that needs to be dealt with by
 underlying protocols. WorkContext is analogous to
 Externalizable but with some restrictions on the types
 that can be marshaled. Advanced Externalizable
 features, such as enveloping, are not supported - implementations
 should provide their own versioning scheme if
 necessary. WorkContext implementations must provide a
 public no-arg constructor.| Modifier and Type | Method | Description | 
|---|---|---|
| void | readContext(WorkContextInput in) | Reads the implementation of  WorkContextfrom theWorkContextInputdata stream. | 
| void | writeContext(WorkContextOutput out) | Writes the implementation of  WorkContextto theWorkContextOutputdata stream. | 
void writeContext(WorkContextOutput out) throws java.io.IOException
WorkContext to the
 WorkContextOutput data stream.java.io.IOExceptionvoid readContext(WorkContextInput in) throws java.io.IOException
WorkContext from the
 WorkContextInput data stream.java.io.IOException