public class BaseWadlGeneratorImpl extends Object implements WadlGenerator
WadlGenerator. This implementation does not
provide doc and grammar extension of WADL.| Constructor and Description |
|---|
BaseWadlGeneratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
Application |
createApplication() |
Method |
createMethod(ResourceMethodDescriptor rmd) |
Param |
createParam(MethodParameter methodParameter) |
Request |
createRequest() |
RepresentationType |
createRequestRepresentation(javax.ws.rs.core.MediaType mediaType) |
Resource |
createResource(AbstractResourceDescriptor rd) |
Resource |
createResource(String path) |
Resources |
createResources() |
Response |
createResponse() |
RepresentationType |
createResponseRepresentation(javax.ws.rs.core.MediaType mediaType) |
public Application createApplication()
createApplication in interface WadlGeneratorApplication instance, it is root element in WADLpublic Resources createResources()
createResources in interface WadlGeneratorResources instance. Element resources in WADL
document is container for the descriptions of resources provided
by applicationpublic Resource createResource(AbstractResourceDescriptor rd)
createResource in interface WadlGeneratorrd - See AbstractResourceDescriptororg.everrest.core.wadl.research.Resource.Resource
describes application resource, each resource identified by a URIpublic Resource createResource(String path)
createResource in interface WadlGeneratorpath - resource relative pathorg.everrest.core.wadl.research.Resource.Resource
describes application resource, each resource identified by a URIpublic Method createMethod(ResourceMethodDescriptor rmd)
createMethod in interface WadlGeneratorrmd - See ResourceMethodDescriptororg.everrest.core.rest.wadl.research.Method describes the
input to and output from an HTTP protocol method they may be
applied to a resourcepublic Request createRequest()
createRequest in interface WadlGeneratorRequest describes the
input to be included when applying an HTTP method to a resourceorg.everrest.core.wadl.research.Method}public Response createResponse()
createResponse in interface WadlGeneratorResponse describes the
output that result from performing an HTTP method on a resourceorg.everrest.core.wadl.research.Method}public RepresentationType createRequestRepresentation(javax.ws.rs.core.MediaType mediaType)
createRequestRepresentation in interface WadlGeneratormediaType - one of media type that resource can consumeRepresentationType describes a representation of
resource's statepublic RepresentationType createResponseRepresentation(javax.ws.rs.core.MediaType mediaType)
createResponseRepresentation in interface WadlGeneratormediaType - one of media type that resource can produceRepresentationType describes a representation of
resource's statepublic Param createParam(MethodParameter methodParameter)
createParam in interface WadlGeneratormethodParameter - See MethodParameterParam describes a parameterized component of its parent
element resource, request, responseResource,
Request,
ResponseCopyright © 2015. All rights reserved.