IReplaceHandler, ISearchHandler, java.lang.Iterable<ADQLObject>public abstract class RemoveHandler extends SimpleReplaceHandler
In this handler the replacement ADQLObject is always null. It may be interpreted as a removal of the matched ADQL item from its ADQL parent.
IMPORTANT: It is the responsibility of the object which calls this method to apply the removal !
nbReplacementresults| Constructor | Description |
|---|---|
RemoveHandler() |
|
RemoveHandler(boolean recursive) |
|
RemoveHandler(boolean recursive,
boolean onlyFirstMatch) |
| Modifier and Type | Method | Description |
|---|---|---|
ADQLObject |
getReplacer(ADQLObject objToReplace) |
Always returns null.
|
getNbMatch, iterator, searchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMatchAndReplace, getNbReplacement, reset, searchAndReplaceaddMatch, getNbMatch, goInto, isFinished, isRecursive, iterator, match, onlyFirstMatch, search, setOnlyFirstMatch, setRecursivepublic RemoveHandler()
public RemoveHandler(boolean recursive,
boolean onlyFirstMatch)
public RemoveHandler(boolean recursive)
public ADQLObject getReplacer(ADQLObject objToReplace)
IMPORTANT: It is the responsibility of the object which calls this method to apply the removal !
getReplacer in class SimpleReplaceHandlerobjToReplace - The ADQL item to replace.SimpleReplaceHandler.getReplacer(adql.query.ADQLObject)