Requested in #23 the painFormat should be overwritable as the XML seems the same for different PAINFormats. As this is likely not to be, this is just an Idea to solve this temporarily. A better solution would be to build DomBuilder for each PAINFormat but I think this is a pain too.
Code reformatting to a single coding style (Symfony2)
Merge pull request #27 from monofone/master

painFormat should be overwritable