QDox

QDox

Summary

Description

QDox is a high speed, small footprint parser for extracting class/interface/method definitions from source files complete with JavaDoc @tags. It is designed to be used by active code generators or documentation tools.

Providing a test

By providing a test it's much easier to fix any issue. It might look hard to create a unit-test for QDox, but with just a few lines your code is ready to be tested.
public void testTemplate() throws Exception {
  JavaDocBuilder builder = new JavaDocBuilder();
  String source = "public class Foo {}";
  builder.addSource( new StringReader(source) );
}
Once you've done something like this, you can use the builder to get to your specific element and compare it with the expected value.

Issues: Due

  • Task QDOX-238 Use "The Java™ Language Specification Java SE 7 Edition" as reference for parser comments
  • Task QDOX-20 Migrate qdox-attributes and qdox-xml to maven 2
  • Task QDOX-21 Upload website for qdox-xml and qdox-attributes

Issues: 30 Day Summary


Issues: 0 created and 0 resolved

Issues: Updated recently

  • Bug QDOX-226 30/Dec/11 Enum constructors are parsed to fields
  • Improvement QDOX-213 28/Dec/11 getSimpleName as in java.lang.Class
  • Task QDOX-238 12/Oct/11 Use "The Java™ Language Specification Java SE 7 Edition" as reference for parser comments

Versions: Due

Activity Stream