|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RepresentationNode | |
|---|---|
| org.jvnet.ws.wadl.ast | Classes to insulate code generator from JAXB generated classes. |
| org.jvnet.ws.wadl2java | Implements a WADL to Java tool that generates client-side stubs for the resources and methods declared in a WADL file. |
| org.jvnet.ws.wadl2java.common | |
| org.jvnet.ws.wadl2java.jaxrs | |
| org.jvnet.ws.wadl2java.jersey | |
| Uses of RepresentationNode in org.jvnet.ws.wadl.ast |
|---|
| Methods in org.jvnet.ws.wadl.ast that return types with arguments of type RepresentationNode | |
|---|---|
List<RepresentationNode> |
MethodNode.getSupportedInputs()
Get a list of the supported input types, these correspond to the body of a PUT, or POST request |
List<RepresentationNode> |
MethodNode.getSupportedOutputs()
Get a list of the output representations that the method supports, these correspond to the body of a GET, POST or PUT response. |
| Method parameters in org.jvnet.ws.wadl.ast with type arguments of type RepresentationNode | |
|---|---|
protected void |
WadlAstBuilder.addRepresentation(List<RepresentationNode> list,
Representation representation,
URI file)
Add a representation to a method's input or output list. |
| Uses of RepresentationNode in org.jvnet.ws.wadl2java |
|---|
| Methods in org.jvnet.ws.wadl2java with parameters of type RepresentationNode | |
|---|---|
void |
JavaDocUtil.generateParamDoc(RepresentationNode r,
com.sun.codemodel.JMethod jm)
Extract documentation from a WADL representation and add it to the corresponding Java method parameter. |
void |
JavaDocUtil.generateReturnDoc(RepresentationNode r,
com.sun.codemodel.JMethod jm)
Extract documentation from a WADL representation and add it to the corresponding Java method return. |
| Uses of RepresentationNode in org.jvnet.ws.wadl2java.common |
|---|
| Methods in org.jvnet.ws.wadl2java.common with parameters of type RepresentationNode | |
|---|---|
protected abstract com.sun.codemodel.JExpression |
BaseResourceClassGenerator.createProcessInvocation(MethodNode method,
com.sun.codemodel.JBlock $methodBody,
com.sun.codemodel.JVar $resourceBuilder,
String methodString,
RepresentationNode inputRep,
com.sun.codemodel.JType returnType,
com.sun.codemodel.JExpression $returnTypeExpr,
com.sun.codemodel.JExpression $entityExpr)
|
protected abstract com.sun.codemodel.JVar |
BaseResourceClassGenerator.createRequestBuilderAndAccept(com.sun.codemodel.JBlock $methodBody,
com.sun.codemodel.JVar $resource,
RepresentationNode outputRep)
|
protected void |
BaseResourceClassGenerator.generateBody(MethodNode method,
boolean isJAXB,
Map<com.sun.codemodel.JType,com.sun.codemodel.JDefinedClass> exceptionMap,
RepresentationNode outputRep,
com.sun.codemodel.JVar $genericMethodParameter,
boolean wrapInputTypeInJAXBElement,
com.sun.codemodel.JType inputType,
com.sun.codemodel.JType returnType,
com.sun.codemodel.JVar $resourceBuilder,
RepresentationNode inputRep,
com.sun.codemodel.JBlock $methodBody)
Generate a method body that uses a JAXBDispatcher, used when the payloads are XML. |
protected void |
BaseResourceClassGenerator.generateMethodDecl(Map<com.sun.codemodel.JType,com.sun.codemodel.JDefinedClass> exceptionMap,
MethodNode method,
boolean includeOptionalParams,
RepresentationNode inputRep,
RepresentationNode outputRep,
BaseResourceClassGenerator.MethodType methodType,
boolean isAbstract)
Generate a Java method for a specified combination of WADL method,
input representation and output representation
elements. |
protected void |
BaseResourceClassGenerator.generateMethodVariants(Map<com.sun.codemodel.JType,com.sun.codemodel.JDefinedClass> exceptionMap,
MethodNode method,
boolean includeOptionalParams,
RepresentationNode inputRep,
RepresentationNode outputRep,
boolean isAbstract)
Generate one or two Java methods for a specified combination of WADL method,
input representation and output representation
elements. |
protected String |
BaseResourceClassGenerator.getMethodName(MethodNode method,
RepresentationNode inputRep,
RepresentationNode outputRep,
com.sun.codemodel.JType returnType)
Generate a name for the method. |
| Uses of RepresentationNode in org.jvnet.ws.wadl2java.jaxrs |
|---|
| Methods in org.jvnet.ws.wadl2java.jaxrs with parameters of type RepresentationNode | |
|---|---|
protected com.sun.codemodel.JExpression |
JAXRS20ResourceClassGenerator.createProcessInvocation(MethodNode method,
com.sun.codemodel.JBlock $methodBody,
com.sun.codemodel.JVar $resourceBuilder,
String methodString,
RepresentationNode inputRep,
com.sun.codemodel.JType returnType,
com.sun.codemodel.JExpression $returnTypeExpr,
com.sun.codemodel.JExpression $entityExpr)
|
protected com.sun.codemodel.JVar |
JAXRS20ResourceClassGenerator.createRequestBuilderAndAccept(com.sun.codemodel.JBlock $methodBody,
com.sun.codemodel.JVar $resource,
RepresentationNode outputRep)
|
| Uses of RepresentationNode in org.jvnet.ws.wadl2java.jersey |
|---|
| Methods in org.jvnet.ws.wadl2java.jersey with parameters of type RepresentationNode | |
|---|---|
protected com.sun.codemodel.JExpression |
Jersey1xResourceClassGenerator.createProcessInvocation(MethodNode method,
com.sun.codemodel.JBlock $methodBody,
com.sun.codemodel.JVar $resourceBuilder,
String methodString,
RepresentationNode inputRep,
com.sun.codemodel.JType returnType,
com.sun.codemodel.JExpression $returnTypeExpr,
com.sun.codemodel.JExpression $entityExpr)
|
protected com.sun.codemodel.JVar |
Jersey1xResourceClassGenerator.createRequestBuilderAndAccept(com.sun.codemodel.JBlock $methodBody,
com.sun.codemodel.JVar $resource,
RepresentationNode outputRep)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||