XPDXMLElement.h 903 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // XPDXMLElement.h
  3. // XMLParseDome
  4. //
  5. // Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  8. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  9. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  10. // This notice may not be removed from this file.
  11. //
  12. #import <Foundation/Foundation.h>
  13. NS_ASSUME_NONNULL_BEGIN
  14. @interface XPDXMLElement : NSObject
  15. @property (nonatomic, strong) NSString *name;
  16. @property (nonatomic, strong) NSMutableString *text;
  17. @property (nonatomic, strong) NSDictionary *attribute;
  18. @property (nonatomic, strong) XPDXMLElement *parent;
  19. @property (nonatomic, strong) NSMutableArray<XPDXMLElement *> *childElement;
  20. -(NSDictionary *)convertToDic;
  21. @end
  22. NS_ASSUME_NONNULL_END