// set actual actual subrules from its string rule;
  public void setActualSubRules(Hashtable table) throws RuleException {
    // find childRule from stringRule
    childRule = (Rule) table.get(m_childStrRule);
    if (m_oneChildStrRule != null) {
      oneChildRule = (Rule) table.get(m_oneChildStrRule);
    }

    // change modifiers with their actual rules
    super.setActualModifiers(table);
  }
Esempio n. 2
0
 // if a kind of rule (template, connector, etc.) supports string subrules,
 // then set actual actual subrules from its string rules; (this method is
 // then overriden in the given kind of rule).
 // otherwise, do nothing.
 public void setActualSubRules(Hashtable table) throws RuleException {
   setActualModifiers(table);
 }