XULTemplatesAPI: Difference between revisions

Line 158: Line 158:


   /**
   /**
   * Item object for the result, generally some datasource specific object
   * Resource for the result, which may be null. If set, the uri should be the
  * same as the ID property.
   */
   */
   readonly attribute nsISupports item;
   readonly attribute nsIRDFResource resource;


   /**
   /**
Line 184: Line 185:
   * generated for it.
   * generated for it.
   *
   *
  * @param aQuery the query that matched
   * @param aRuleNode the rule node that matched
   * @param aRuleNode the rule node that matched
   */
   */
   void ruleMatched(in nsIDOMNode aRuleNode);
   void ruleMatched(in nsISupports aQuery, in nsIDOMNode aRuleNode);
 
  /**
  * Indicate that the output for a result has been removed and the
  * result is no longer being used by the builder.
  */
  void remove();
  };
  };
</pre>
</pre>
287

edits