/** * Called in <code>open</code>, <code>content</code> and <code>close</code> to pass the {@link Writable}s to the handler * @param po */ private void Consume(IWorkerContext context, ProcessObject po) { if (po.ContainsWritable()) { IWritable w = null; while (null != (w = po.Poll())) { handler.Add(w); } } }