refactor StAX, DOM, SAX Parsers