| 1 | |
package org.webslinger.rules; |
| 2 | |
|
| 3 | |
import java.io.IOException; |
| 4 | |
import java.util.ListIterator; |
| 5 | |
import javax.servlet.ServletException; |
| 6 | |
import javax.servlet.ServletRequest; |
| 7 | |
|
| 8 | |
import org.webslinger.Webslinger; |
| 9 | |
|
| 10 | |
public abstract class AbstractRestriction extends SimpleNode { |
| 11 | |
public AbstractRestriction(int id) { |
| 12 | 0 | super(id); |
| 13 | 0 | } |
| 14 | |
|
| 15 | |
public AbstractRestriction(Rules p, int id) { |
| 16 | 80 | super(p, id); |
| 17 | 80 | } |
| 18 | |
|
| 19 | |
public void updateSpecificity(int[] specificity, boolean[] isConstantHolder) { |
| 20 | 0 | throw new AbstractMethodError(); |
| 21 | |
} |
| 22 | |
|
| 23 | |
public boolean matches(ServletRequest request, Webslinger top) throws IOException, ServletException { |
| 24 | 0 | throw new AbstractMethodError(); |
| 25 | |
} |
| 26 | |
} |