public class ResourceDocAccessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ResourceDocType |
_resourceDoc |
private static java.util.logging.Logger |
LOGGER |
Constructor and Description |
---|
ResourceDocAccessor(ResourceDocType resourceDoc) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
computeSignature(java.lang.reflect.Method method) |
ClassDocType |
getClassDoc(java.lang.Class<?> resourceClass) |
MethodDocType |
getMethodDoc(java.lang.Class<?> resourceClass,
java.lang.reflect.Method method) |
ParamDocType |
getParamDoc(java.lang.Class<?> resourceClass,
java.lang.reflect.Method method,
Parameter p) |
RepresentationDocType |
getRequestRepresentation(java.lang.Class<?> resourceClass,
java.lang.reflect.Method method,
java.lang.String mediaType) |
ResponseDocType |
getResponse(java.lang.Class<?> resourceClass,
java.lang.reflect.Method method) |
private java.lang.String |
getSourceName(AnnotationDocType annotationDocType) |
private static final java.util.logging.Logger LOGGER
private ResourceDocType _resourceDoc
public ResourceDocAccessor(ResourceDocType resourceDoc)
public ClassDocType getClassDoc(java.lang.Class<?> resourceClass)
public MethodDocType getMethodDoc(java.lang.Class<?> resourceClass, java.lang.reflect.Method method)
private java.lang.String computeSignature(java.lang.reflect.Method method)
public ParamDocType getParamDoc(java.lang.Class<?> resourceClass, java.lang.reflect.Method method, Parameter p)
resourceClass
- method
- p
- public RepresentationDocType getRequestRepresentation(java.lang.Class<?> resourceClass, java.lang.reflect.Method method, java.lang.String mediaType)
public ResponseDocType getResponse(java.lang.Class<?> resourceClass, java.lang.reflect.Method method)
private java.lang.String getSourceName(AnnotationDocType annotationDocType)