Create writer methods as duplicates in ParserXMLGenerator

One more step in the refactor process.

Change-Id: I0e32abd472eb3667471e8b3d37d27a03e1cc57fa