Java class to make it easy to generate nested set model left and right values from given xml