Ents is a small Java package designed to simplify the process of converting XML entity references to character references and vice-versa .
Ents uses an XML format to specify lists of equivalent entity names and character references. Ents may only be used for single character entities. A file supporting XHTML 1.1 (and HTML) character entities is included, as is support for compiling that information into a class file.
Ents is currently in alpha. The core functionality seems complete, but there's still potential for improvement, expansion, and as always, better documentation. (Including RDDL documents for the rules file format.)
Ents is distributed under the Mozilla Public License 1.1. For more information, see the javadoc.
A download is available.