org.restlet.ext.wadl
Class WadlWrapper

java.lang.Object
  extended by org.restlet.Uniform
      extended by org.restlet.Restlet
          extended by org.restlet.util.WrapperRestlet
              extended by org.restlet.ext.wadl.WadlWrapper
All Implemented Interfaces:
WadlDescribable

public abstract class WadlWrapper
extends WrapperRestlet
implements WadlDescribable

Restlet WADL wrapper. Useful for application developer who need to provide the WADL documentation for a Restlet instance like a Directory.

Author:
Thierry Boileau

Constructor Summary
WadlWrapper(Restlet wrappedRestlet)
          Constructor.
 
Method Summary
 ResourceInfo getResourceInfo()
          Returns the description of the wrapped Restlet.
 void setResourceInfo(ResourceInfo resourceInfo)
          Sets the description of the wrapped Restlet.
 
Methods inherited from class org.restlet.util.WrapperRestlet
getApplication, getContext, getLogger, handle, isStarted, isStopped, setContext, start, stop
 
Methods inherited from class org.restlet.Restlet
init
 
Methods inherited from class org.restlet.Uniform
delete, delete, get, get, handle, head, head, options, options, post, post, put, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WadlWrapper

public WadlWrapper(Restlet wrappedRestlet)
Constructor.

Parameters:
wrappedRestlet - The Restlet to wrap.
Method Detail

getResourceInfo

public ResourceInfo getResourceInfo()
Returns the description of the wrapped Restlet.

Specified by:
getResourceInfo in interface WadlDescribable
Returns:
The ResourceInfo object of the wrapped Restlet.

setResourceInfo

public void setResourceInfo(ResourceInfo resourceInfo)
Sets the description of the wrapped Restlet.

Parameters:
resourceInfo - The ResourceInfo object of the wrapped Restlet.


Copyright © 2005-2008 Noelios Technologies.