Extends the CasConsumer interface to provide a method for getting
output in XML form. A regular CasConsumer is "terminal" in the sense
that its output does not get returned to object that initiated the
CasConsumer. This interface allows for "non-terminal" behavior so that
the output can be returned.