The result of parsing drives these callback methods.
The open and close actions should be balanced. The
flush
method will be the last method
called, to give the receiver a chance to flush any
pending data into the document.
Refer to DocumentParser, the default parser used, for further
information on the contents of the AttributeSets, the positions, and
other info.