The Apache Commons Digester package lets you configure an XML to Java object mapping module which triggers certain actions called rules whenever a particular pattern of nested XML elements is recognized.
Homepage POM file JAR file Javadoc'org.apache.commons:commons-digester3:3.2'