| // Copyright 2017 PDFium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| #ifndef FXJS_XFA_CJX_NODE_H_ |
| #define FXJS_XFA_CJX_NODE_H_ |
| #include "fxjs/xfa/cjx_tree.h" |
| #include "fxjs/xfa/jse_define.h" |
| #include "xfa/fxfa/fxfa.h" |
| #include "xfa/fxfa/fxfa_basic.h" |
| class CJX_Node : public CJX_Tree { |
| CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED; |
| bool DynamicTypeIs(TypeTag eType) const override; |
| JSE_METHOD(getAttribute); |
| JSE_METHOD(isPropertySpecified); |
| JSE_METHOD(saveFilteredXML); |
| JSE_METHOD(setAttribute); |
| explicit CJX_Node(CXFA_Node* node); |
| XFA_EventError execSingleEventByName(WideStringView wsEventName, |
| using ParentType__ = CJX_Tree; |
| static const TypeTag static_type__ = TypeTag::Node; |
| static const CJX_MethodSpec MethodSpecs[]; |
| #endif // FXJS_XFA_CJX_NODE_H_ |