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_XMLCHARDATA_H_ 8 #define CORE_FXCRT_XML_CFX_XMLCHARDATA_H_ 9 10 #include <memory> 11 12 #include "core/fxcrt/fx_string.h" 13 #include "core/fxcrt/xml/cfx_xmltext.h" 14 15 class CFX_XMLCharData : public CFX_XMLText { 16 public: 17 explicit CFX_XMLCharData(const WideString& wsCData); 18 ~CFX_XMLCharData() override; 19 20 FX_XMLNODETYPE GetType() const override; 21 std::unique_ptr<CFX_XMLNode> Clone() override; 22 }; 23 24 #endif // CORE_FXCRT_XML_CFX_XMLCHARDATA_H_ 25