You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
745 B
48 lines
745 B
// |
|
// MOBFXmlNode.h |
|
// MOBFoundation |
|
// |
|
// Created by fenghj on 15/9/17. |
|
// Copyright © 2015年 MOB. All rights reserved. |
|
// |
|
|
|
#import <Foundation/Foundation.h> |
|
|
|
/** |
|
* XML节点 |
|
*/ |
|
@interface MOBFXmlNode : NSObject |
|
|
|
/** |
|
* 父级节点 |
|
*/ |
|
@property (nonatomic, weak) MOBFXmlNode *parentNode; |
|
|
|
/** |
|
* 节点名称 |
|
*/ |
|
@property (nonatomic, copy) NSString *name; |
|
|
|
/** |
|
* 属性集合 |
|
*/ |
|
@property (nonatomic, strong, readonly) NSMutableDictionary *attributes; |
|
|
|
/** |
|
* 子节点 |
|
*/ |
|
@property (nonatomic, strong, readonly) NSMutableArray *children; |
|
|
|
/** |
|
* 文本信息 |
|
*/ |
|
@property (nonatomic, copy) NSString *text; |
|
|
|
/** |
|
* 获取节点的字典结构描述 |
|
* |
|
* @return 字典结构 |
|
*/ |
|
- (NSDictionary *)dictionaryValue; |
|
|
|
@end
|
|
|