public void encodeWithKeyValueArchiver(EOKeyValueArchiver eokeyvaluearchiver) { super.encodeWithKeyValueArchiver(eokeyvaluearchiver); if (mutableUserInfo != null && mutableUserInfo.allKeys().count() > 0) eokeyvaluearchiver.encodeObject(mutableUserInfo, "userInfo"); ((NSMutableDictionary) eokeyvaluearchiver.dictionary()) .setObjectForKey("com.webobjects.directtoweb.Rule", "class"); }
public void setSelectedRule(Rule rule) { group.setSelectedObject(rule); qualifier = rule.lhs(); qualifierString = null; }
public String objectAsString(Rule o) { EOKeyValueArchiver eokeyvaluearchiver = new EOKeyValueArchiver(); o.encodeWithKeyValueArchiver(eokeyvaluearchiver); return NSPropertyListSerialization.stringFromPropertyList(eokeyvaluearchiver.dictionary()); }