Class WadlBuilder
- java.lang.Object
-
- org.glassfish.jersey.server.wadl.internal.WadlBuilder
-
public class WadlBuilder extends Object
This class implements the algorithm how the wadl is built for one or moreResource
classes. Wadl artifacts are created by aWadlGenerator
. Created on: Jun 18, 2008- Author:
- Marc Hadley, Martin Grotzke (martin.grotzke at freiheit.com), Miroslav Fuksa
-
-
Constructor Summary
Constructors Constructor Description WadlBuilder(WadlGenerator wadlGenerator, boolean detailedWadl, UriInfo uriInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationDescription
generate(List<Resource> resources)
Generate WADL for a set of resources.Application
generate(ApplicationDescription description, Resource resource)
Generate WADL for a resource.
-
-
-
Constructor Detail
-
WadlBuilder
public WadlBuilder(WadlGenerator wadlGenerator, boolean detailedWadl, UriInfo uriInfo)
-
-
Method Detail
-
generate
public ApplicationDescription generate(List<Resource> resources)
Generate WADL for a set of resources.- Parameters:
resources
- the set of resources.- Returns:
- the JAXB WADL application bean.
-
generate
public Application generate(ApplicationDescription description, Resource resource)
Generate WADL for a resource.- Parameters:
resource
- the resourcedescription
- the overall application description so we can- Returns:
- the JAXB WADL application bean
-
-