JDOM2 Feature JDOMConstants

Rolf edited this page Mar 31, 2012 · 1 revision

org.jdom2.JDOMConstants has been introduced to centralize a lot of constants that are commonly used in the JDOM code or by JDOM users.

Using the JDOMConstants class instead of String constants scattered through the code reduces the possibility of introducing 'typo' type bugs, and it allows you to easily look up values too.