LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIXSLTProcessor.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/content/xslt/public/nsIXSLTProcessor.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIXSLTProcessor_h__
       6                 : #define __gen_nsIXSLTProcessor_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_domstubs_h__
      14                 : #include "domstubs.h"
      15                 : #endif
      16                 : 
      17                 : /* For IDL files that don't want to include root IDL files. */
      18                 : #ifndef NS_NO_VTABLE
      19                 : #define NS_NO_VTABLE
      20                 : #endif
      21                 : class nsIVariant; /* forward declaration */
      22                 : 
      23                 : 
      24                 : /* starting interface:    nsIXSLTProcessor */
      25                 : #define NS_IXSLTPROCESSOR_IID_STR "4a91aeb3-4100-43ee-a21e-9866268757c5"
      26                 : 
      27                 : #define NS_IXSLTPROCESSOR_IID \
      28                 :   {0x4a91aeb3, 0x4100, 0x43ee, \
      29                 :     { 0xa2, 0x1e, 0x98, 0x66, 0x26, 0x87, 0x57, 0xc5 }}
      30                 : 
      31               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIXSLTProcessor : public nsISupports {
      32                 :  public: 
      33                 : 
      34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXSLTPROCESSOR_IID)
      35                 : 
      36                 :   /* void importStylesheet (in nsIDOMNode style); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD ImportStylesheet(nsIDOMNode *style) = 0;
      38                 : 
      39                 :   /* nsIDOMDocumentFragment transformToFragment (in nsIDOMNode source, in nsIDOMDocument output); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD TransformToFragment(nsIDOMNode *source, nsIDOMDocument *output, nsIDOMDocumentFragment * *_retval NS_OUTPARAM) = 0;
      41                 : 
      42                 :   /* nsIDOMDocument transformToDocument (in nsIDOMNode source); */
      43                 :   NS_SCRIPTABLE NS_IMETHOD TransformToDocument(nsIDOMNode *source, nsIDOMDocument * *_retval NS_OUTPARAM) = 0;
      44                 : 
      45                 :   /* void setParameter (in DOMString namespaceURI, in DOMString localName, in nsIVariant value); */
      46                 :   NS_SCRIPTABLE NS_IMETHOD SetParameter(const nsAString & namespaceURI, const nsAString & localName, nsIVariant *value) = 0;
      47                 : 
      48                 :   /* nsIVariant getParameter (in DOMString namespaceURI, in DOMString localName); */
      49                 :   NS_SCRIPTABLE NS_IMETHOD GetParameter(const nsAString & namespaceURI, const nsAString & localName, nsIVariant * *_retval NS_OUTPARAM) = 0;
      50                 : 
      51                 :   /* void removeParameter (in DOMString namespaceURI, in DOMString localName); */
      52                 :   NS_SCRIPTABLE NS_IMETHOD RemoveParameter(const nsAString & namespaceURI, const nsAString & localName) = 0;
      53                 : 
      54                 :   /* void clearParameters (); */
      55                 :   NS_SCRIPTABLE NS_IMETHOD ClearParameters(void) = 0;
      56                 : 
      57                 :   /* void reset (); */
      58                 :   NS_SCRIPTABLE NS_IMETHOD Reset(void) = 0;
      59                 : 
      60                 : };
      61                 : 
      62                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIXSLTProcessor, NS_IXSLTPROCESSOR_IID)
      63                 : 
      64                 : /* Use this macro when declaring classes that implement this interface. */
      65                 : #define NS_DECL_NSIXSLTPROCESSOR \
      66                 :   NS_SCRIPTABLE NS_IMETHOD ImportStylesheet(nsIDOMNode *style); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD TransformToFragment(nsIDOMNode *source, nsIDOMDocument *output, nsIDOMDocumentFragment * *_retval NS_OUTPARAM); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD TransformToDocument(nsIDOMNode *source, nsIDOMDocument * *_retval NS_OUTPARAM); \
      69                 :   NS_SCRIPTABLE NS_IMETHOD SetParameter(const nsAString & namespaceURI, const nsAString & localName, nsIVariant *value); \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetParameter(const nsAString & namespaceURI, const nsAString & localName, nsIVariant * *_retval NS_OUTPARAM); \
      71                 :   NS_SCRIPTABLE NS_IMETHOD RemoveParameter(const nsAString & namespaceURI, const nsAString & localName); \
      72                 :   NS_SCRIPTABLE NS_IMETHOD ClearParameters(void); \
      73                 :   NS_SCRIPTABLE NS_IMETHOD Reset(void); 
      74                 : 
      75                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      76                 : #define NS_FORWARD_NSIXSLTPROCESSOR(_to) \
      77                 :   NS_SCRIPTABLE NS_IMETHOD ImportStylesheet(nsIDOMNode *style) { return _to ImportStylesheet(style); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD TransformToFragment(nsIDOMNode *source, nsIDOMDocument *output, nsIDOMDocumentFragment * *_retval NS_OUTPARAM) { return _to TransformToFragment(source, output, _retval); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD TransformToDocument(nsIDOMNode *source, nsIDOMDocument * *_retval NS_OUTPARAM) { return _to TransformToDocument(source, _retval); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD SetParameter(const nsAString & namespaceURI, const nsAString & localName, nsIVariant *value) { return _to SetParameter(namespaceURI, localName, value); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetParameter(const nsAString & namespaceURI, const nsAString & localName, nsIVariant * *_retval NS_OUTPARAM) { return _to GetParameter(namespaceURI, localName, _retval); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD RemoveParameter(const nsAString & namespaceURI, const nsAString & localName) { return _to RemoveParameter(namespaceURI, localName); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD ClearParameters(void) { return _to ClearParameters(); } \
      84                 :   NS_SCRIPTABLE NS_IMETHOD Reset(void) { return _to Reset(); } 
      85                 : 
      86                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      87                 : #define NS_FORWARD_SAFE_NSIXSLTPROCESSOR(_to) \
      88                 :   NS_SCRIPTABLE NS_IMETHOD ImportStylesheet(nsIDOMNode *style) { return !_to ? NS_ERROR_NULL_POINTER : _to->ImportStylesheet(style); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD TransformToFragment(nsIDOMNode *source, nsIDOMDocument *output, nsIDOMDocumentFragment * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TransformToFragment(source, output, _retval); } \
      90                 :   NS_SCRIPTABLE NS_IMETHOD TransformToDocument(nsIDOMNode *source, nsIDOMDocument * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->TransformToDocument(source, _retval); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD SetParameter(const nsAString & namespaceURI, const nsAString & localName, nsIVariant *value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParameter(namespaceURI, localName, value); } \
      92                 :   NS_SCRIPTABLE NS_IMETHOD GetParameter(const nsAString & namespaceURI, const nsAString & localName, nsIVariant * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParameter(namespaceURI, localName, _retval); } \
      93                 :   NS_SCRIPTABLE NS_IMETHOD RemoveParameter(const nsAString & namespaceURI, const nsAString & localName) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveParameter(namespaceURI, localName); } \
      94                 :   NS_SCRIPTABLE NS_IMETHOD ClearParameters(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearParameters(); } \
      95                 :   NS_SCRIPTABLE NS_IMETHOD Reset(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); } 
      96                 : 
      97                 : #if 0
      98                 : /* Use the code below as a template for the implementation class for this interface. */
      99                 : 
     100                 : /* Header file */
     101                 : class nsXSLTProcessor : public nsIXSLTProcessor
     102                 : {
     103                 : public:
     104                 :   NS_DECL_ISUPPORTS
     105                 :   NS_DECL_NSIXSLTPROCESSOR
     106                 : 
     107                 :   nsXSLTProcessor();
     108                 : 
     109                 : private:
     110                 :   ~nsXSLTProcessor();
     111                 : 
     112                 : protected:
     113                 :   /* additional members */
     114                 : };
     115                 : 
     116                 : /* Implementation file */
     117                 : NS_IMPL_ISUPPORTS1(nsXSLTProcessor, nsIXSLTProcessor)
     118                 : 
     119                 : nsXSLTProcessor::nsXSLTProcessor()
     120                 : {
     121                 :   /* member initializers and constructor code */
     122                 : }
     123                 : 
     124                 : nsXSLTProcessor::~nsXSLTProcessor()
     125                 : {
     126                 :   /* destructor code */
     127                 : }
     128                 : 
     129                 : /* void importStylesheet (in nsIDOMNode style); */
     130                 : NS_IMETHODIMP nsXSLTProcessor::ImportStylesheet(nsIDOMNode *style)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* nsIDOMDocumentFragment transformToFragment (in nsIDOMNode source, in nsIDOMDocument output); */
     136                 : NS_IMETHODIMP nsXSLTProcessor::TransformToFragment(nsIDOMNode *source, nsIDOMDocument *output, nsIDOMDocumentFragment * *_retval NS_OUTPARAM)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : 
     141                 : /* nsIDOMDocument transformToDocument (in nsIDOMNode source); */
     142                 : NS_IMETHODIMP nsXSLTProcessor::TransformToDocument(nsIDOMNode *source, nsIDOMDocument * *_retval NS_OUTPARAM)
     143                 : {
     144                 :     return NS_ERROR_NOT_IMPLEMENTED;
     145                 : }
     146                 : 
     147                 : /* void setParameter (in DOMString namespaceURI, in DOMString localName, in nsIVariant value); */
     148                 : NS_IMETHODIMP nsXSLTProcessor::SetParameter(const nsAString & namespaceURI, const nsAString & localName, nsIVariant *value)
     149                 : {
     150                 :     return NS_ERROR_NOT_IMPLEMENTED;
     151                 : }
     152                 : 
     153                 : /* nsIVariant getParameter (in DOMString namespaceURI, in DOMString localName); */
     154                 : NS_IMETHODIMP nsXSLTProcessor::GetParameter(const nsAString & namespaceURI, const nsAString & localName, nsIVariant * *_retval NS_OUTPARAM)
     155                 : {
     156                 :     return NS_ERROR_NOT_IMPLEMENTED;
     157                 : }
     158                 : 
     159                 : /* void removeParameter (in DOMString namespaceURI, in DOMString localName); */
     160                 : NS_IMETHODIMP nsXSLTProcessor::RemoveParameter(const nsAString & namespaceURI, const nsAString & localName)
     161                 : {
     162                 :     return NS_ERROR_NOT_IMPLEMENTED;
     163                 : }
     164                 : 
     165                 : /* void clearParameters (); */
     166                 : NS_IMETHODIMP nsXSLTProcessor::ClearParameters()
     167                 : {
     168                 :     return NS_ERROR_NOT_IMPLEMENTED;
     169                 : }
     170                 : 
     171                 : /* void reset (); */
     172                 : NS_IMETHODIMP nsXSLTProcessor::Reset()
     173                 : {
     174                 :     return NS_ERROR_NOT_IMPLEMENTED;
     175                 : }
     176                 : 
     177                 : /* End of implementation class template. */
     178                 : #endif
     179                 : 
     180                 : 
     181                 : #endif /* __gen_nsIXSLTProcessor_h__ */

Generated by: LCOV version 1.7