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 and Description |
|---|
RemoveHandler() |
RemoveHandler(boolean recursive) |
RemoveHandler(boolean recursive,
boolean onlyFirstMatch) |
| Modifier and Type | Method and Description |
|---|---|
ADQLObject |
getReplacer(ADQLObject objToReplace)
Always returns null.
|
addMatchAndReplace, getNbReplacement, reset, searchAndReplaceaddMatch, getNbMatch, goInto, isFinished, isRecursive, iterator, match, onlyFirstMatch, search, setOnlyFirstMatch, setRecursiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNbMatch, iterator, searchpublic 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)