public class QueryTreeAction extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QueryTreeAction.Action |
Modifier and Type | Method and Description |
---|---|
QueryTreeAction.Action |
getAction() |
Query |
getReplacement() |
static QueryTreeAction |
keep()
Do not modify the current node, but possibly modify its children (if any).
|
static QueryTreeAction |
remove()
remove the current node
|
static QueryTreeAction |
replace(Query replacement)
Replace the current node with the provided replacement.
|
public static QueryTreeAction keep()
public static QueryTreeAction replace(Query replacement)
public static QueryTreeAction remove()
public QueryTreeAction.Action getAction()
public Query getReplacement()