[minor] javadoc error corrected
Replaced conditionals with regex for text -> boolean conversions
[minor] reduced conditional complexity
[minor] replace toString() on JAXB object with getDescription()