|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration
org.codehaus.enunciate.contract.jaxrs.Resource
public abstract class Resource
A JAX-RS resource.
| Field Summary |
|---|
| Fields inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
|---|
delegate, javaDoc |
| Constructor Summary | |
|---|---|
Resource(com.sun.mirror.declaration.TypeDeclaration delegate)
|
|
| Method Summary | |
|---|---|
java.util.Set<java.lang.String> |
getConsumesMime()
The MIME types that the methods on this resource consumes (possibly overridden). |
abstract Resource |
getParent()
The parent resource. |
abstract java.lang.String |
getPath()
The path to this resource. |
java.util.Set<java.lang.String> |
getProducesMime()
The MIME types that the methods on this resource consumes (possibly overridden). |
java.util.List<SubResourceLocator> |
getResourceLocators()
The resource locators. |
java.util.List<ResourceMethod> |
getResourceMethods()
The resource methods. |
java.util.List<ResourceMethod> |
getResourceMethods(boolean loadDescendants)
The resource methods. |
protected java.util.List<ResourceMethod> |
getResourceMethods(com.sun.mirror.declaration.TypeDeclaration delegate)
Get all the resource methods for the specified type. |
java.util.List<ResourceParameter> |
getResourceParameters()
The resource parameters. |
protected java.util.List<ResourceParameter> |
getResourceParameters(com.sun.mirror.declaration.TypeDeclaration delegate)
Get the resource parameters for the specified delegate. |
protected java.util.List<SubResourceLocator> |
getSubresourceLocators(com.sun.mirror.declaration.TypeDeclaration delegate)
Get the sub-resource locators for the specified type. |
protected boolean |
isOverridden(net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration method,
java.util.ArrayList<? extends net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration> resourceMethods)
Whether the specified method is overridden by any of the methods in the specified list. |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration |
|---|
accept, getFields, getFormalTypeParameters, getMethods, getNestedTypes, getPackage, getProperties, getQualifiedName, getSuperinterfaces, isAnnotatedType, isClass, isEnum, isInterface, isPaired |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration |
|---|
getDeclaringType |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
|---|
constructJavaDoc, equals, getAnnotation, getAnnotationMirrors, getAnnotations, getDelegate, getDocComment, getDocValue, getJavaDoc, getModifiers, getPosition, getSimpleName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.mirror.declaration.MemberDeclaration |
|---|
getDeclaringType |
| Methods inherited from interface com.sun.mirror.declaration.Declaration |
|---|
equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
| Constructor Detail |
|---|
public Resource(com.sun.mirror.declaration.TypeDeclaration delegate)
| Method Detail |
|---|
protected java.util.List<SubResourceLocator> getSubresourceLocators(com.sun.mirror.declaration.TypeDeclaration delegate)
delegate - The type.
protected java.util.List<ResourceMethod> getResourceMethods(com.sun.mirror.declaration.TypeDeclaration delegate)
delegate - The type.
protected java.util.List<ResourceParameter> getResourceParameters(com.sun.mirror.declaration.TypeDeclaration delegate)
delegate - The delegate.
protected boolean isOverridden(net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration method,
java.util.ArrayList<? extends net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration> resourceMethods)
method - The method.resourceMethods - The method list.
public abstract java.lang.String getPath()
public abstract Resource getParent()
public java.util.Set<java.lang.String> getConsumesMime()
public java.util.Set<java.lang.String> getProducesMime()
public java.util.List<ResourceParameter> getResourceParameters()
public java.util.List<ResourceMethod> getResourceMethods()
public java.util.List<ResourceMethod> getResourceMethods(boolean loadDescendants)
loadDescendants - Whether to include the resource methods of all sub-resources.
public java.util.List<SubResourceLocator> getResourceLocators()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||