feat: 自定义的插件
This commit is contained in:
48
Libs/MOBFoundation.framework/Headers/MOBFXmlNode.h
Executable file
48
Libs/MOBFoundation.framework/Headers/MOBFXmlNode.h
Executable file
@@ -0,0 +1,48 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user