Class WadlGeneratorApplicationDoc

java.lang.Object
org.glassfish.jersey.server.wadl.internal.generators.WadlGeneratorApplicationDoc
All Implemented Interfaces:
WadlGenerator

public class WadlGeneratorApplicationDoc extends Object implements WadlGenerator
This WadlGenerator adds all doc elements provided by ApplicationDocs.getDocs() to the generated wadl-file.

The ApplicationDocs content can either be provided via a File reference (setApplicationDocsFile(File)) or via an InputStream (setApplicationDocsStream(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.

Created on: Jun 16, 2008
Author:
Martin Grotzke (martin.grotzke at freiheit.com)