|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.ws.rest.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,
UriPathValue uriPath)
Creates a new instance of AbstractResource |
Method Summary | |
---|---|
void |
accept(AbstractModelVisitor visitor)
|
java.util.List<AbstractModelComponent> |
getComponents()
|
java.util.List<AbstractResourceConstructor> |
getConstructors()
|
java.lang.Class<?> |
getResourceClass()
|
java.util.List<AbstractResourceMethod> |
getResourceMethods()
Provides a non-null list of resource methods available on the resource |
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 |
UriPathValue |
getUriPath()
|
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, UriPathValue uriPath)
Method Detail |
---|
public java.lang.Class<?> getResourceClass()
public boolean isSubResource()
public boolean isRootResource()
public UriPathValue getUriPath()
getUriPath
in interface UriPathAnnotated
public java.util.List<AbstractResourceMethod> getResourceMethods()
public java.util.List<AbstractSubResourceMethod> getSubResourceMethods()
public java.util.List<AbstractSubResourceLocator> getSubResourceLocators()
public java.util.List<AbstractResourceConstructor> getConstructors()
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 |