org.owasp.webscarab.model
Class FilteredUrlModel

java.lang.Object
  extended by org.owasp.webscarab.model.AbstractUrlModel
      extended by org.owasp.webscarab.model.FilteredUrlModel
All Implemented Interfaces:
UrlModel

public abstract class FilteredUrlModel
extends AbstractUrlModel

Author:
rogan

Field Summary
protected  javax.swing.event.EventListenerList _listenerList
           
protected  java.util.logging.Logger _logger
           
protected  UrlModel _urlModel
           
 
Constructor Summary
FilteredUrlModel(UrlModel urlModel)
          Creates a new instance of FilteredUrlModel
 
Method Summary
 HttpUrl getChildAt(HttpUrl url, int index)
           
 int getChildCount(HttpUrl url)
           
 int getIndexOf(HttpUrl url)
           
protected  void initFilters()
           
protected  boolean isFiltered(HttpUrl url)
           
 boolean isImplicit(HttpUrl url)
           
 EDU.oswego.cs.dl.util.concurrent.Sync readLock()
           
 void reset()
           
protected  void setFiltered(HttpUrl url, boolean filtered)
           
protected  void setImplicit(HttpUrl url, boolean filtered)
           
protected abstract  boolean shouldFilter(HttpUrl url)
           
 
Methods inherited from class org.owasp.webscarab.model.AbstractUrlModel
addUrlListener, fireUrlAdded, fireUrlChanged, fireUrlRemoved, fireUrlsChanged, removeUrlListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_urlModel

protected UrlModel _urlModel

_listenerList

protected javax.swing.event.EventListenerList _listenerList

_logger

protected java.util.logging.Logger _logger
Constructor Detail

FilteredUrlModel

public FilteredUrlModel(UrlModel urlModel)
Creates a new instance of FilteredUrlModel

Method Detail

readLock

public EDU.oswego.cs.dl.util.concurrent.Sync readLock()
Specified by:
readLock in interface UrlModel
Specified by:
readLock in class AbstractUrlModel

initFilters

protected void initFilters()

shouldFilter

protected abstract boolean shouldFilter(HttpUrl url)

isFiltered

protected boolean isFiltered(HttpUrl url)

setFiltered

protected void setFiltered(HttpUrl url,
                           boolean filtered)

isImplicit

public boolean isImplicit(HttpUrl url)

setImplicit

protected void setImplicit(HttpUrl url,
                           boolean filtered)

getIndexOf

public int getIndexOf(HttpUrl url)
Specified by:
getIndexOf in interface UrlModel
Specified by:
getIndexOf in class AbstractUrlModel

getChildAt

public HttpUrl getChildAt(HttpUrl url,
                          int index)
Specified by:
getChildAt in interface UrlModel
Specified by:
getChildAt in class AbstractUrlModel

getChildCount

public int getChildCount(HttpUrl url)
Specified by:
getChildCount in interface UrlModel
Specified by:
getChildCount in class AbstractUrlModel

reset

public void reset()