Package org.apache.cxf.jaxrs.model.wadl
Class DocTarget
- java.lang.Object
-
- org.apache.cxf.jaxrs.model.wadl.DocTarget
-
public final class DocTarget extends Object
Descriptioncan use one of DocTarget constants to bind itself to a specific WADL element.Descriptionannotations documenting WADL 'resource', 'method', 'param' and input 'representation' elements do not have use these constants.
-
-
Field Summary
Fields Modifier and Type Field Description static StringMETHODWADL method element, corresponds to a class resource methodstatic StringPARAMWADL request param or representation elements, correspond to input parameters of the resource methodstatic StringREQUESTWADL request elementstatic StringRESOURCEWADL resource element, in most cases it corresponds to the root resource or sub-resource classesstatic StringRESPONSEWADL request elementstatic StringRETURNWADL response representation element, corresponds to the return type of the resource method
-
-
-
Field Detail
-
RESOURCE
public static final String RESOURCE
WADL resource element, in most cases it corresponds to the root resource or sub-resource classes- See Also:
- Constant Field Values
-
METHOD
public static final String METHOD
WADL method element, corresponds to a class resource method- See Also:
- Constant Field Values
-
PARAM
public static final String PARAM
WADL request param or representation elements, correspond to input parameters of the resource method- See Also:
- Constant Field Values
-
RETURN
public static final String RETURN
WADL response representation element, corresponds to the return type of the resource method- See Also:
- Constant Field Values
-
REQUEST
public static final String REQUEST
WADL request element- See Also:
- Constant Field Values
-
RESPONSE
public static final String RESPONSE
WADL request element- See Also:
- Constant Field Values
-
-