public interface ISearchHandler extends java.lang.Iterable<ADQLObject>
Defines an interface for any kind of search handler.
A search handler is supposed to search ADQL objects matching a given condition. Then, it lets iterate on all matched items.
A simple implementation of this interface already exists: SimpleSearchHandler
.
IReplaceHandler
,
SimpleSearchHandler
Modifier and Type | Method and Description |
---|---|
int |
getNbMatch()
Indicates how many ADQL objects have matched.
|
java.util.Iterator<ADQLObject> |
iterator()
Lets to iterate on the list of all the matched ADQL objects.
|
void |
search(ADQLObject startObj)
Searches all matching ADQL objects from the given ADQL object (included).
|
void search(ADQLObject startObj)
startObj
- The ADQL object from which the search must start.java.util.Iterator<ADQLObject> iterator()
iterator
in interface java.lang.Iterable<ADQLObject>
Iterable.iterator()
int getNbMatch()