|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.server.wadl.WadlBuilder
public class WadlBuilder
This class implements the algorithm how the WADL is built for one or more
AbstractResource classes. WADL artifacts are created by a
WadlGenerator.
| Constructor Summary | |
|---|---|
WadlBuilder()
Create default WADL builder. |
|
WadlBuilder(WadlGenerator wadlGenerator)
Create WADL builder that utilizes given WADL generator. |
|
| Method Summary | |
|---|---|
com.sun.research.ws.wadl.Application |
generate(Providers providers,
FeaturesAndProperties fap,
UriInfo info,
ApplicationDescription description,
AbstractResource resource)
Generate WADL for a resource. |
com.sun.research.ws.wadl.Application |
generate(Providers providers,
FeaturesAndProperties fap,
UriInfo info,
ApplicationDescription description,
AbstractResource resource,
java.lang.String path)
Generate WADL for a virtual subresource resulting from sub resource methods. |
ApplicationDescription |
generate(Providers providers,
FeaturesAndProperties fap,
UriInfo info,
java.util.Set<AbstractResource> resources)
Generate WADL for a set of resources. |
ApplicationDescription |
generate(UriInfo info,
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 |
|---|
public WadlBuilder()
public WadlBuilder(WadlGenerator wadlGenerator)
wadlGenerator - initialized WADL generator.| Method Detail |
|---|
public ApplicationDescription generate(UriInfo info,
java.util.Set<AbstractResource> resources)
resources - the set of resourcesinfo - a UriInfo to provide context for the request
public ApplicationDescription generate(Providers providers,
FeaturesAndProperties fap,
UriInfo info,
java.util.Set<AbstractResource> resources)
resources - the set of resourcesinfo - a UriInfo to provide context for the requestproviders - an instance of Providers required for some WADL generatorsfap - an instance of FeaturesAndProperties required from some WADL generators
public com.sun.research.ws.wadl.Application generate(Providers providers,
FeaturesAndProperties fap,
UriInfo info,
ApplicationDescription description,
AbstractResource resource)
resource - the resourcedescription - the overall application description so we caninfo - a UriInfo to provide context for the requestproviders - an instance of Providers required for some WADL generatorsfap - an instance of FeaturesAndProperties required from some WADL generators
public com.sun.research.ws.wadl.Application generate(Providers providers,
FeaturesAndProperties fap,
UriInfo info,
ApplicationDescription description,
AbstractResource resource,
java.lang.String path)
description - the overall application description so we canresource - the parent resourcepath - the value of the methods path annotations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||