com.sun.jersey.wadl.resourcedoc
Class ResourceDoclet

java.lang.Object
  extended by com.sun.jersey.wadl.resourcedoc.ResourceDoclet

public class ResourceDoclet
extends java.lang.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 1908 2009-02-03 00:20:29Z magrokosmos $
Author:
Martin Grotzke

Constructor Summary
ResourceDoclet()
           
 
Method Summary
static int optionLength(java.lang.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(java.lang.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(java.lang.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(java.lang.String[][] options,
                                   com.sun.javadoc.DocErrorReporter reporter)
Validate options.

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


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.