As a joran configurator goes through the elements in a document, it asks the
rule store whether there are rules matching the current pattern by invoking
the matchActions(ElementPath) method.
| Modifier and Type | Method and Description |
|---|---|
| public void | addRule(ElementSelector elementSelector, String actionClassStr)
Add a new rule, given by a pattern and an action class (String). |
| public void | addRule(ElementSelector elementSelector, Supplier<Action> actionSupplier)
Add a new rule, given by a pattern and an action instance. |
| public void | |
| public Supplier | Returns: list of matching actionsthe path to match for elementPath)Return a list of actions matching a pattern. |
| addRule | back to summary |
|---|---|
| public void addRule(ElementSelector elementSelector, String actionClassStr) throws ClassNotFoundException Add a new rule, given by a pattern and an action class (String). | |
| addRule | back to summary |
|---|---|
| public void addRule(ElementSelector elementSelector, Supplier<Action> actionSupplier) Add a new rule, given by a pattern and an action instance. | |
| addTransparentPathPart | back to summary |
|---|---|
| public void addTransparentPathPart(String pathPart) | |
| matchActions | back to summary |
|---|---|
| public Supplier Return a list of actions matching a pattern.
| |