org.jactr.tools.grapher.core.selector
Class AbstractNameSelector<T>

java.lang.Object
  extended by org.jactr.tools.grapher.core.selector.AbstractNameSelector<T>
All Implemented Interfaces:
ISelector<T>
Direct Known Subclasses:
ChunkSelector, ChunkTypeSelector, ClassNamedParameterSelector, ModelSelector, ProductionSelector

public abstract class AbstractNameSelector<T>
extends java.lang.Object
implements ISelector<T>


Constructor Summary
AbstractNameSelector(java.lang.String regex)
           
 
Method Summary
 void add(IProbe<T> tracker)
           
 java.lang.String getGroupId()
           
 IProbeContainer install(T element, IProbeContainer container)
           
 boolean matches(T element)
           
 void setGroupId(java.lang.String group)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jactr.tools.grapher.core.selector.ISelector
add
 

Constructor Detail

AbstractNameSelector

public AbstractNameSelector(java.lang.String regex)
Method Detail

setGroupId

public void setGroupId(java.lang.String group)
Specified by:
setGroupId in interface ISelector<T>

getGroupId

public java.lang.String getGroupId()
Specified by:
getGroupId in interface ISelector<T>

add

public void add(IProbe<T> tracker)
Specified by:
add in interface ISelector<T>

matches

public boolean matches(T element)
Specified by:
matches in interface ISelector<T>

install

public IProbeContainer install(T element,
                               IProbeContainer container)
Specified by:
install in interface ISelector<T>