Class WadlGeneratorGrammarsSupport

All Implemented Interfaces:

public class WadlGeneratorGrammarsSupport extends Object implements WadlGenerator
This WadlGenerator adds the provided Grammars element to the generated wadl-file.

The Grammars content can either be provided via a File (setGrammarsFile(File)) reference or via an InputStream (setGrammarsStream(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 24, 2008
Martin Grotzke (martin.grotzke at