Class ResourceDocAccessor
- java.lang.Object
-
- org.glassfish.jersey.server.wadl.internal.generators.resourcedoc.ResourceDocAccessor
-
public class ResourceDocAccessor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceDocType
_resourceDoc
private static java.util.logging.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description ResourceDocAccessor(ResourceDocType resourceDoc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
LOGGER
private static final java.util.logging.Logger LOGGER
-
_resourceDoc
private ResourceDocType _resourceDoc
-
-
Constructor Detail
-
ResourceDocAccessor
public ResourceDocAccessor(ResourceDocType resourceDoc)
-
-
Method Detail
-
getClassDoc
public ClassDocType getClassDoc(java.lang.Class<?> resourceClass)
-
getMethodDoc
public MethodDocType getMethodDoc(java.lang.Class<?> resourceClass, java.lang.reflect.Method method)
-
computeSignature
private java.lang.String computeSignature(java.lang.reflect.Method method)
-
getParamDoc
public ParamDocType getParamDoc(java.lang.Class<?> resourceClass, java.lang.reflect.Method method, Parameter p)
- Parameters:
resourceClass
-method
-p
-- Returns:
- param doc type
-
getRequestRepresentation
public RepresentationDocType getRequestRepresentation(java.lang.Class<?> resourceClass, java.lang.reflect.Method method, java.lang.String mediaType)
-
getResponse
public ResponseDocType getResponse(java.lang.Class<?> resourceClass, java.lang.reflect.Method method)
-
getSourceName
private java.lang.String getSourceName(AnnotationDocType annotationDocType)
-
-