XULTemplatesAPI: Difference between revisions

(Break page into two)
 
Line 17: Line 17:
                             in nsIXULTemplateBuilder aBuilder,
                             in nsIXULTemplateBuilder aBuilder,
                             in nsIDOMNode aRootNode);
                             in nsIDOMNode aRootNode);
  /**
  * Called when the template builder is being destroyed so that the query
  * processor can clean up any state.
  */
  void done();


   /**
   /**
Line 46: Line 52:
                           in nsIAtom aRefVariable,
                           in nsIAtom aRefVariable,
                           in nsIAtom aMemberVariable);
                           in nsIAtom aMemberVariable);
  /**
  * Compile a query from a string. The result of this function will later be
  * passed to generateResults for result generation. This method is
  * equivalent in function to compileQuery method but takes the query as a
  * string rather than a node.
  *
  * A query processor is not required to support queries as strings and may
  * throw an NS_ERROR_NOT_IMPLEMENTED error if not.
  *
  * @param aBuilder the template builder
  * @param aQueryString query string to compile
  * @param aRefVariable the reference variable
  * @param aMemberVariable the member variable
  *
  * @returns a compiled query object
  */
  nsISupports compileQueryString(in nsIXULTemplateBuilder aBuilder,
                                in AString aQueryString,
                                in nsIAtom aRefVariable,
                                in nsIAtom aMemberVariable);


   /**
   /**
287

edits