1 // Copyright 2017 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FXCRT_XML_CFX_SAXCONTEXT_H_ 8 #define CORE_FXCRT_XML_CFX_SAXCONTEXT_H_ 9 10 #include <sstream> 11 12 #include "core/fxcrt/fx_string.h" 13 #include "core/fxcrt/xml/cfx_saxreader.h" 14 15 class CFX_SAXContext { 16 public: 17 CFX_SAXContext(); 18 ~CFX_SAXContext(); 19 20 std::ostringstream m_TextBuf; 21 ByteString m_bsTagName; 22 CFX_SAXItem::Type m_eNode; 23 }; 24 25 #endif // CORE_FXCRT_XML_CFX_SAXCONTEXT_H_ 26