org.codehaus.enunciate.jaxrs
Annotation Type TypeHint


@Target(value={PARAMETER,METHOD})
@Retention(value=RUNTIME)
public @interface TypeHint

Used to give Enunciate a hint about what a JAX-RS resource method returns or accepts as an input parameter.

Author:
Ryan Heaton

Optional Element Summary
 java.lang.String qualifiedName
          The fully-qualified classname of the hint.
 java.lang.Class<?> value
          The hint.
 

value

public abstract java.lang.Class<?> value
The hint.

Returns:
The hint.
Default:
org.codehaus.enunciate.jaxrs.TypeHint.NONE.class

qualifiedName

public abstract java.lang.String qualifiedName
The fully-qualified classname of the hint. (Used in the case that the hint isn't on the classpath of the resource method at build-time.)

Returns:
The fully-qualified classname of the hint.
Default:
"##NONE"