// To set the ignore-case
digester.addCallMethod("*/equal", "setIgnoreCase", 1);
digester.addCallParam("*/equal", 0, "ignore-case");
digester.addCallMethod("*/equal/var", "setVariable", 0);
digester.addCallMethod("*/equal/value", "setValue", 0);
digester.addRule("*/equal", new SetOperand(digester));
/*
* <pattern value="* /contains"> <object-create-rule
* classname="com.ericsson.ssa.dd.ContainsOperand" /> <call-method-rule
* pattern="var" methodname="setVariable" paramcount="0" />
* <call-method-rule pattern="value" methodname="setValue" paramcount="0" />
* <set-next-rule methodname="addCondition" /> </pattern>
*/
digester.addObjectCreate("*/contains", ContainsOperand.class.getName(),
"className");
// To set the ignore-case
digester.addCallMethod("*/contains", "setIgnoreCase", 1);
digester.addCallParam("*/contains", 0, "ignore-case");
digester.addCallMethod("*/contains/var", "setVariable", 0);
digester.addCallMethod("*/contains/value", "setValue", 0);
digester.addRule("*/contains", new SetOperand(digester));
/* <pattern value="* /exists"> <object-create-rule
* classname="com.ericsson.ssa.dd.ExistsOperand" /> <call-method-rule
* pattern="var" methodname="setVariable" paramcount="0" /> <set-next-rule
* methodname="addCondition" />
*/
digester.addObjectCreate("*/exists", ExistsOperand.class.getName(),
"className");
digester.addCallMethod("*/exists/var", "setVariable", 0);
digester.addRule("*/exists", new SetOperand(digester));
/* </pattern> <pattern value="* /subdomain-of"> <object-create-rule
* classname="com.ericsson.ssa.dd.SubDomainOfOperand" /> <call-method-rule
* pattern="var" methodname="setVariable" paramcount="0" />
* <call-method-rule pattern="value" methodname="setValue" paramcount="0" />
* <set-next-rule methodname="addCondition" /> </pattern>
*/
digester.addObjectCreate("*/subdomain-of",
SubDomainOfOperand.class.getName(), "className");
digester.addCallMethod("*/subdomain-of/var", "setVariable", 0);
digester.addCallMethod("*/subdomain-of/value", "setValue", 0);
digester.addRule("*/subdomain-of", new SetOperand(digester));
digester.addCallMethod("sip-app/login-config/auth-method",
"setLoginConfigAuthMethod", 0);
digester.addCallMethod("sip-app/login-config/realm-name",
"setLoginConfigRealmName", 0);