Пример #1
0
 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");
 }
Пример #2
0
 public void setSelectedRule(Rule rule) {
   group.setSelectedObject(rule);
   qualifier = rule.lhs();
   qualifierString = null;
 }
Пример #3
0
 public String objectAsString(Rule o) {
   EOKeyValueArchiver eokeyvaluearchiver = new EOKeyValueArchiver();
   o.encodeWithKeyValueArchiver(eokeyvaluearchiver);
   return NSPropertyListSerialization.stringFromPropertyList(eokeyvaluearchiver.dictionary());
 }