Java version of generating HTML Code for Bootstrap