return ruleElmts;
}
private RuleElmt createRuleElmt(Node ruleNode) throws XPathExpressionException
{
RuleElmt ruleElmt = new RuleElmt();
// name
final String name = RUtil.getRequiredAttributeValue(ruleNode,
XML.ATTRIB.NAME);
ruleElmt.setName(name);
// or-next-rule
final String sOrNextRule = RUtil.getAttributeValue(ruleNode,
XML.ATTRIB.OR_NEXT_RULE);
final boolean orNextRule = RUtil.parseBoolean(sOrNextRule);
ruleElmt.setOrNextRule(orNextRule);
// inverse
final String sInverse =
RUtil.getAttributeValue(ruleNode, XML.ATTRIB.INVERSE);
final boolean inverse = RUtil.parseBoolean(sInverse);
ruleElmt.setInverse(inverse);
return ruleElmt;
}