/*
 * Copyright 2006 Wyona
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.wyona.org/licenses/APACHE-LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

package org.wyona.yanel.impl.resources;

import org.wyona.yanel.core.ResourceTypeDefinition;
import org.wyona.yanel.core.api.attributes.ViewableV1;
import org.wyona.yanel.core.attributes.viewable.ViewDescriptor;

import org.wyona.yanel.impl.ResourceDefaultImpl;

/**
 *
 */
public class NutchResource extends ResourceDefaultImpl implements ViewableV1 {

    /**
     *
     */
    public NutchResource() {
    }

    /**
     *
     */
    public ViewDescriptor[] getViewDescriptors() {
        return null;
    }
}

@@ -639,16 +639,88 @@
 urces;%0A%0A
+import org.wyona.yanel.core.Path;%0Aimport org.wyona.yanel.core.Resource;%0A
 import o
@@ -818,16 +818,70 @@
 ableV1;%0A
+import org.wyona.yanel.core.attributes.viewable.View;%0A
 import o
@@ -948,48 +948,45 @@
 ort 
-org.wyona.yanel.impl.ResourceDefaultImpl
+javax.servlet.http.HttpServletRequest
 ;%0A%0A/
@@ -1042,19 +1042,8 @@
 urce
-DefaultImpl
  imp
@@ -1223,11 +1223,281 @@
 l;%0A    %7D
+%0A%0A    /**%0A     *%0A     */%0A    public View getView(Path path, String viewId) %7B%0A        return null;%0A    %7D%0A%0A    /**%0A     *%0A     */%0A    public View getView(HttpServletRequest request, String viewId) %7B%0A        return getView(new Path(request.getServletPath()), viewId);%0A    %7D
 %0A%7D%0A

make it compile