| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 // Eventually we should implement XSLTException: | 31 // Eventually we should implement XSLTException: |
| 32 // http://lxr.mozilla.org/seamonkey/source/content/xsl/public/nsIXSLTExcepti
on.idl | 32 // http://lxr.mozilla.org/seamonkey/source/content/xsl/public/nsIXSLTExcepti
on.idl |
| 33 // http://bugs.webkit.org/show_bug.cgi?id=5446 | 33 // http://bugs.webkit.org/show_bug.cgi?id=5446 |
| 34 | 34 |
| 35 interface [ | 35 interface [ |
| 36 Conditional=XSLT, | 36 Conditional=XSLT, |
| 37 Constructor | 37 Constructor |
| 38 ] XSLTProcessor { | 38 ] XSLTProcessor { |
| 39 | 39 |
| 40 [Custom] void importStylesheet(in Node stylesheet); | 40 void importStylesheet(in [Optional=DefaultIsUndefined] Node stylesheet); |
| 41 [Custom] DocumentFragment transformToFragment(in Node source, in Documen
t docVal); | 41 DocumentFragment transformToFragment(in [Optional=DefaultIsUndefined] No
de source, in [Optional=DefaultIsUndefined] Document docVal); |
| 42 [Custom] Document transformToDocument(in Node source); | 42 Document transformToDocument(in [Optional=DefaultIsUndefined] Node sourc
e); |
| 43 | 43 |
| 44 [Custom] void setParameter(in DOMString namespaceURI, in DOMString local
Name, in DOMString value); | 44 [Custom] void setParameter(in DOMString namespaceURI, in DOMString local
Name, in DOMString value); |
| 45 [Custom, TreatReturnedNullStringAs=Undefined] DOMString getParameter(in
DOMString namespaceURI, in DOMString localName); | 45 [Custom, TreatReturnedNullStringAs=Undefined] DOMString getParameter(in
DOMString namespaceURI, in DOMString localName); |
| 46 [Custom] void removeParameter(in DOMString namespaceURI, in DOMString lo
calName); | 46 [Custom] void removeParameter(in DOMString namespaceURI, in DOMString lo
calName); |
| 47 void clearParameters(); | 47 void clearParameters(); |
| 48 | 48 |
| 49 void reset(); | 49 void reset(); |
| 50 | 50 |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } | 53 } |
| OLD | NEW |