public class WadlBuilder extends Object
Resource
classes. Wadl artifacts are created by a WadlGenerator
. Created on: Jun 18, 2008Constructor and Description |
---|
WadlBuilder(WadlGenerator wadlGenerator,
boolean detailedWadl,
UriInfo uriInfo) |
Modifier and Type | Method and Description |
---|---|
Application |
generate(ApplicationDescription description,
Resource resource)
Generate WADL for a resource.
|
ApplicationDescription |
generate(List<Resource> resources)
Generate WADL for a set of resources.
|
public WadlBuilder(WadlGenerator wadlGenerator, boolean detailedWadl, UriInfo uriInfo)
public ApplicationDescription generate(List<Resource> resources)
resources
- the set of resources.public Application generate(ApplicationDescription description, Resource resource)
resource
- the resourcedescription
- the overall application description so we canCopyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.