code: private void writeObject(ObjectOutputStream outStream) throws IOException {
          PutField fields = outStream.putFields();
          fields.put(BEGIN_DEFAULT, beginDefaultContext);
          outStream.writeFields();
      }
docs: Serialize the given object.
  
  @param outStream The stream to write the serialized data.
  
  @throws IOException