|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
.
Created on: Jun 18, 2008
Constructor Summary | |
---|---|
WadlBuilder()
|
|
WadlBuilder(WadlGenerator wadlGenerator)
|
Method Summary | |
---|---|
com.sun.research.ws.wadl.Application |
generate(AbstractResource resource)
Generate WADL for a resource. |
com.sun.research.ws.wadl.Application |
generate(AbstractResource resource,
java.lang.String path)
Generate WADL for a virtual subresource resulting from sub resource methods. |
com.sun.research.ws.wadl.Application |
generate(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)
Method Detail |
---|
public com.sun.research.ws.wadl.Application generate(java.util.Set<AbstractResource> resources)
resources
- the set of resources
public com.sun.research.ws.wadl.Application generate(AbstractResource resource)
resource
- the resource
public com.sun.research.ws.wadl.Application generate(AbstractResource resource, java.lang.String path)
resource
- 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 |