com.sun.jersey.server.wadl
Class WadlBuilder

java.lang.Object  extended by com.sun.jersey.server.wadl.WadlBuilder

public class WadlBuilder
extends java.lang.Object

This class implements the algorithm how the wadl is built for one or more AbstractResource classes. Wadl artifacts are created by a WadlGenerator. Created on: Jun 18, 2008

Version:
$Id$
Author:
Marc Hadley, Martin Grotzke


Constructor Summary
WadlBuilder()
           
WadlBuilder(WadlGenerator wadlGenerator)
           
 
Method Summary
 com.sun.research.ws.wadl.Applicationgenerate(ApplicationDescription description, AbstractResource resource)
          Generate WADL for a resource.
 com.sun.research.ws.wadl.Applicationgenerate(ApplicationDescription description, AbstractResource resource, java.lang.String path)
          Generate WADL for a virtual subresource resulting from sub resource methods.
 ApplicationDescriptiongenerate(java.util.Set<AbstractResource> resources)
          Generate WADL for a set of resources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WadlBuilder

public WadlBuilder()

WadlBuilder

public WadlBuilder(WadlGenerator wadlGenerator)
Method Detail

generate

public ApplicationDescription generate(java.util.Set<AbstractResource> resources)
Generate WADL for a set of resources.

Parameters:
resources - the set of resources
Returns:
the JAXB WADL application bean

generate

public com.sun.research.ws.wadl.Application generate(ApplicationDescription description,                                                     AbstractResource resource)
Generate WADL for a resource.

Parameters:
resource - the resource
description - the overall application description so we can
Returns:
the JAXB WADL application bean

generate

public com.sun.research.ws.wadl.Application generate(ApplicationDescription description,                                                     AbstractResource resource,                                                     java.lang.String path)
Generate WADL for a virtual subresource resulting from sub resource methods.

Parameters:
description - the overall application description so we can
resource - the parent resource
path - the value of the methods path annotations
Returns:
the JAXB WADL application bean


Copyright © 2011
Oracle Corporation. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14