OLD | NEW |
1 /* | 1 /* |
2 * This file is part of the XSL implementation. | 2 * This file is part of the XSL implementation. |
3 * | 3 * |
4 * Copyright (C) 2004, 2007, 2008 Apple, Inc. All rights reserved. | 4 * Copyright (C) 2004, 2007, 2008 Apple, Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 static void genericErrorFunc(void* userData, const char* msg, ...); | 73 static void genericErrorFunc(void* userData, const char* msg, ...); |
74 | 74 |
75 // Only for libXSLT callbacks | 75 // Only for libXSLT callbacks |
76 XSLStyleSheet* xslStylesheet() const { return m_stylesheet.get(); } | 76 XSLStyleSheet* xslStylesheet() const { return m_stylesheet.get(); } |
77 | 77 |
78 typedef HashMap<String, String> ParameterMap; | 78 typedef HashMap<String, String> ParameterMap; |
79 | 79 |
80 void trace(Visitor*); | 80 void trace(Visitor*); |
81 | 81 |
82 private: | 82 private: |
83 XSLTProcessor() | 83 XSLTProcessor() { } |
84 { | |
85 ScriptWrappable::init(this); | |
86 } | |
87 | 84 |
88 RefPtrWillBeMember<XSLStyleSheet> m_stylesheet; | 85 RefPtrWillBeMember<XSLStyleSheet> m_stylesheet; |
89 RefPtrWillBeMember<Node> m_stylesheetRootNode; | 86 RefPtrWillBeMember<Node> m_stylesheetRootNode; |
90 ParameterMap m_parameters; | 87 ParameterMap m_parameters; |
91 }; | 88 }; |
92 | 89 |
93 } // namespace blink | 90 } // namespace blink |
94 | 91 |
95 #endif // XSLTProcessor_h | 92 #endif // XSLTProcessor_h |
OLD | NEW |