org.glassfish.jersey.wadl.doclet
Class ResourceDoclet

java.lang.Object
  extended by org.glassfish.jersey.wadl.doclet.ResourceDoclet

public class ResourceDoclet
extends Object

This doclet creates a resourcedoc xml file. The ResourceDoc file contains the javadoc documentation of resource classes, so that this can be used for extending generated wadl with useful documentation.
Created on: Jun 7, 2008

Version:
$Id: ResourceDoclet.java 4615 2011-02-17 18:15:12Z pavel_bucek $
Author:
Martin Grotzke

Constructor Summary
ResourceDoclet()
           
 
Method Summary
static int optionLength(String option)
          Return array length for given option: 1 + the number of arguments that the option takes.
static boolean start(com.sun.javadoc.RootDoc root)
          Start the doclet.
static boolean validOptions(String[][] options, com.sun.javadoc.DocErrorReporter reporter)
          Validate options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceDoclet

public ResourceDoclet()
Method Detail

start

public static boolean start(com.sun.javadoc.RootDoc root)
Start the doclet.

Parameters:
root -
Returns:
true if no exception is thrown

optionLength

public static int optionLength(String option)
Return array length for given option: 1 + the number of arguments that the option takes.

Parameters:
option -
Returns:
the number of args for the specified option

validOptions

public static boolean validOptions(String[][] options,
                                   com.sun.javadoc.DocErrorReporter reporter)
Validate options.

Parameters:
options -
reporter -
Returns:
if the specified options are valid


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.