michael@0: michael@0: /* michael@0: * Copyright 2006 The Android Open Source Project michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: michael@0: #ifndef SkBML_XMLParser_DEFINED michael@0: #define SkBML_XMLParser_DEFINED michael@0: michael@0: class SkStream; michael@0: class SkWStream; michael@0: class SkXMLParser; michael@0: class SkXMLWriter; michael@0: michael@0: class BML_XMLParser { michael@0: public: michael@0: /** Read the byte XML stream and write the decompressed XML. michael@0: */ michael@0: static void Read(SkStream& s, SkXMLWriter& writer); michael@0: /** Read the byte XML stream and write the decompressed XML into a writable stream. michael@0: */ michael@0: static void Read(SkStream& s, SkWStream& output); michael@0: /** Read the byte XML stream and write the decompressed XML into an XML parser. michael@0: */ michael@0: static void Read(SkStream& s, SkXMLParser& output); michael@0: }; michael@0: michael@0: #endif // SkBML_XMLParser_DEFINED