2025-10-09 16:48:46 +08:00

27 lines
795 B
Objective-C

/**
Makes the writable properties all package-private, effectively
*/
#import "Node.h"
@interface Node()
@property(nonatomic,strong,readwrite) NSString* nodeName;
@property(nonatomic,strong,readwrite) NSString* nodeValue;
@property(nonatomic,readwrite) DOMNodeType nodeType;
@property(nonatomic,weak,readwrite) Node* parentNode;
@property(nonatomic,strong,readwrite) NodeList* childNodes;
@property(nonatomic,strong,readwrite) NamedNodeMap* attributes;
@property(nonatomic,weak,readwrite) Document* ownerDocument;
// Introduced in DOM Level 2:
@property(nonatomic,strong,readwrite) NSString* namespaceURI;
// Introduced in DOM Level 2:
@property(nonatomic,strong,readwrite) NSString* prefix;
// Introduced in DOM Level 2:
@property(nonatomic,strong,readwrite) NSString* localName;
@end