Visitor Pattern for use by xml writer