class WadlProcessor {

    public Application process(ResourceDescriptor resourceDescriptor, URI baseURI) {
        // Root component of WADL representation
        Application wadlApp = wadlGenerator.createApplication();
        // Container for resources
        Resources wadlResources = wadlGenerator.createResources();
        if (baseURI != null) {
            wadlResources.setBase(baseURI.toString());
        }

        org.everrest.core.wadl.research.Resource wadlResource = processResource(resourceDescriptor);
        wadlResources.getResource().add(wadlResource);

        wadlApp.setResources(wadlResources);
        return wadlApp;
    }

    public  WadlProcessor();
    public  WadlProcessor(WadlGenerator wadlGenerator);

}