one of the advantages of having some documentation is that it can be used. See http://docs.jboss.com/jbpm/v3/javadoc/org/jbpm/jpdl/xml/JpdlXmlWriter.html