OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
3 * Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved. | 3 * Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved. |
4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
5 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 5 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 void append(const String&) override; | 114 void append(const String&) override; |
115 void finish() override; | 115 void finish() override; |
116 bool isWaitingForScripts() const override; | 116 bool isWaitingForScripts() const override; |
117 void stopParsing() override; | 117 void stopParsing() override; |
118 void detach() override; | 118 void detach() override; |
119 OrdinalNumber lineNumber() const override; | 119 OrdinalNumber lineNumber() const override; |
120 OrdinalNumber columnNumber() const; | 120 OrdinalNumber columnNumber() const; |
121 | 121 |
122 // from ResourceClient | 122 // from ResourceClient |
123 void notifyFinished(Resource*) override; | 123 void notifyFinished(Resource*) override; |
| 124 String debugName() const override { return "XMLDocumentParser"; } |
124 | 125 |
125 void end(); | 126 void end(); |
126 | 127 |
127 void pauseParsing(); | 128 void pauseParsing(); |
128 void resumeParsing(); | 129 void resumeParsing(); |
129 | 130 |
130 bool appendFragmentSource(const String&); | 131 bool appendFragmentSource(const String&); |
131 | 132 |
132 public: | 133 public: |
133 // Callbacks from parser SAX | 134 // Callbacks from parser SAX |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 PrefixForNamespaceMap m_prefixToNamespaceMap; | 196 PrefixForNamespaceMap m_prefixToNamespaceMap; |
196 SegmentedString m_pendingSrc; | 197 SegmentedString m_pendingSrc; |
197 }; | 198 }; |
198 | 199 |
199 xmlDocPtr xmlDocPtrForString(Document*, const String& source, const String& url)
; | 200 xmlDocPtr xmlDocPtrForString(Document*, const String& source, const String& url)
; |
200 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); | 201 HashMap<String, String> parseAttributes(const String&, bool& attrsOK); |
201 | 202 |
202 } // namespace blink | 203 } // namespace blink |
203 | 204 |
204 #endif // XMLDocumentParser_h | 205 #endif // XMLDocumentParser_h |
OLD | NEW |