|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.api.model.AbstractResource
public class AbstractResource
Abstraction for resource class
Constructor Summary | |
---|---|
AbstractResource(java.lang.Class<?> resourceClass)
Creates a new instance of AbstractResource |
|
AbstractResource(java.lang.Class<?> resourceClass,
PathValue uriPath)
Creates a new instance of AbstractResource |
Method Summary | |
---|---|
void |
accept(AbstractModelVisitor visitor)
|
java.util.List<AbstractModelComponent> |
getComponents()
|
java.util.List<AbstractResourceConstructor> |
getConstructors()
|
java.util.List<AbstractField> |
getFields()
|
PathValue |
getPath()
|
java.lang.Class<?> |
getResourceClass()
|
java.util.List<AbstractResourceMethod> |
getResourceMethods()
Provides a non-null list of resource methods available on the resource |
java.util.List<AbstractSetterMethod> |
getSetterMethods()
|
java.util.List<AbstractSubResourceLocator> |
getSubResourceLocators()
Provides a non-null list of subresource locators available on the resource |
java.util.List<AbstractSubResourceMethod> |
getSubResourceMethods()
Provides a non-null list of subresource methods available on the resource |
boolean |
isRootResource()
|
boolean |
isSubResource()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractResource(java.lang.Class<?> resourceClass)
public AbstractResource(java.lang.Class<?> resourceClass, PathValue uriPath)
Method Detail |
---|
public java.lang.Class<?> getResourceClass()
public boolean isSubResource()
public boolean isRootResource()
public PathValue getPath()
getPath
in interface PathAnnotated
public java.util.List<AbstractResourceConstructor> getConstructors()
public java.util.List<AbstractField> getFields()
public java.util.List<AbstractSetterMethod> getSetterMethods()
public java.util.List<AbstractResourceMethod> getResourceMethods()
public java.util.List<AbstractSubResourceMethod> getSubResourceMethods()
public java.util.List<AbstractSubResourceLocator> getSubResourceLocators()
public void accept(AbstractModelVisitor visitor)
accept
in interface AbstractModelComponent
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<AbstractModelComponent> getComponents()
getComponents
in interface AbstractModelComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |