• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_CXML_CONTENT_H_
8 #define CORE_FXCRT_XML_CXML_CONTENT_H_
9 
10 #include "core/fxcrt/fx_string.h"
11 #include "core/fxcrt/xml/cxml_object.h"
12 
13 class CXML_Content : public CXML_Object {
14  public:
15   CXML_Content(bool bCDATA, const WideStringView& content);
16   ~CXML_Content() override;
17 
18   // CXML_Object:
19   CXML_Content* AsContent() override;
20   const CXML_Content* AsContent() const override;
21 
22   bool m_bCDATA;
23   WideString m_Content;
24 };
25 
26 #endif  // CORE_FXCRT_XML_CXML_CONTENT_H_
27