xmltools: converted interfaces and basic classes to java