Class 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 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