com.sun.jersey.wadl.resourcedoc
Class ResourceDoclet

java.lang.Object
  extended by com.sun.jersey.wadl.resourcedoc.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 4088 2010-08-24 11:15:13Z 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 © 2013 Oracle Corporation. All Rights Reserved.