1/*
2 * Copyright (C) 2006 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef SkBML_XMLParser_DEFINED
18#define SkBML_XMLParser_DEFINED
19
20class SkStream;
21class SkWStream;
22class SkXMLParser;
23class SkXMLWriter;
24
25class BML_XMLParser {
26public:
27    /** Read the byte XML stream and write the decompressed XML.
28    */
29    static void Read(SkStream& s, SkXMLWriter& writer);
30    /** Read the byte XML stream and write the decompressed XML into a writable stream.
31    */
32    static void Read(SkStream& s, SkWStream& output);
33    /** Read the byte XML stream and write the decompressed XML into an XML parser.
34    */
35    static void Read(SkStream& s, SkXMLParser& output);
36};
37
38#endif // SkBML_XMLParser_DEFINED
39
40