public class RuleHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RuleHandler.InputOutputHandler |
| Constructor and Description |
|---|
RuleHandler(NodeKeeper nodeKeeper) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(Rule rule) |
Rule |
getRule(String id) |
Set<String> |
getRuleIds() |
void |
readRules(InputStream stream) |
void |
removeRule(Rule rule) |
void |
writeRules(OutputStream stream) |
public RuleHandler(NodeKeeper nodeKeeper)
public void readRules(InputStream stream) throws NodeKeeperException, IOException, InterruptedException
public void writeRules(OutputStream stream) throws ParserConfigurationException, TransformerException, IOException
public void addRule(Rule rule) throws NodeKeeperException, IOException, InterruptedException
public void removeRule(Rule rule)
Copyright © 2014. All Rights Reserved.