Apache CXF API

org.apache.cxf.jaxrs.model.wadl
Class DocTarget

java.lang.Object
  extended by org.apache.cxf.jaxrs.model.wadl.DocTarget

public final class DocTarget
extends Object

Description can use one of DocTarget constants to bind itself to a specific WADL element. Description annotations documenting WADL 'resource', 'method', 'param' and input 'representation' elements do not have use these constants.


Field Summary
static String METHOD
          WADL method element, corresponds to a class resource method
static String PARAM
          WADL request param or representation elements, correspond to input parameters of the resource method
static String REQUEST
          WADL request element
static String RESOURCE
          WADL resource element, in most cases it corresponds to the root resource or sub-resource classes
static String RESPONSE
          WADL request element
static String RETURN
          WADL response representation element, corresponds to the return type of the resource method
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Apache CXF API

Apache CXF