The page is parsed and the <title>, <head> (minus the <title>) and <body> are split into chunks.
<title>
<head>
<body>
The original data in its entirity can be written using the writePage() methods.
The implementation of this can be switched to parse different kind of data (e.g. HTML, WML, FOP, images) or for performance enhancements.