Class WadlGeneratorResourceDocSupport

  • All Implemented Interfaces:
    WadlGenerator

    public class WadlGeneratorResourceDocSupport
    extends java.lang.Object
    implements WadlGenerator
    A WadlGenerator implementation that enhances the generated wadl by information read from a resourcedoc (containing javadoc information about resource classes).

    The resourcedoc information can either be provided via a File (setResourceDocFile(File)) reference or via an InputStream (setResourceDocStream(InputStream)).

    The File should be used when using the maven-wadl-plugin for generating wadl offline, the InputStream should be used when the extended wadl is generated by jersey at runtime, e.g. using the WadlGeneratorConfig for configuration.