net.sourceforge.fluxion.pussycat.util
Class AbstractPussycatSearcher<O>
java.lang.Object
net.sourceforge.fluxion.pussycat.util.AbstractPussycatSearcher<O>
- All Implemented Interfaces:
- PussycatSearcher<O>
- Direct Known Subclasses:
- PussycatOntologySearcher
public abstract class AbstractPussycatSearcher<O>
- extends java.lang.Object
- implements PussycatSearcher<O>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
results
protected java.util.Set results
entityCache
protected java.util.HashMap<java.net.URI,java.util.Set> entityCache
pattern
protected java.lang.String pattern
filter
protected java.lang.Class filter
searchableObject
protected O searchableObject
AbstractPussycatSearcher
public AbstractPussycatSearcher()
AbstractPussycatSearcher
public AbstractPussycatSearcher(java.lang.String pattern)
AbstractPussycatSearcher
public AbstractPussycatSearcher(java.lang.Class filter)
AbstractPussycatSearcher
public AbstractPussycatSearcher(java.lang.String pattern,
java.lang.Class filter)
getPattern
public java.lang.String getPattern()
setPattern
public void setPattern(java.lang.String pattern)
getFilter
public java.lang.Class getFilter()
setFilter
public void setFilter(java.lang.Class filter)
removeCachedEntities
public void removeCachedEntities(java.net.URI ontologyUri)
reset
public void reset()
destroy
public void destroy()
getSearchableObject
public O getSearchableObject()
getSearchableObjectClass
public java.lang.Class<O> getSearchableObjectClass()
getEntities
public java.util.Set getEntities()
precache
protected abstract void precache(O object)
visit
public abstract void visit(O object)
throws PussycatException
- Specified by:
visit
in interface PussycatSearcher<O>
- Throws:
PussycatException
Copyright © 2010. All Rights Reserved.