DTHTMLParserNode Class Reference
Inherits from | NSObject |
Declared in | DTHTMLParserNode.h |
Tasks
-
– initWithName:attributes:
-
name
property -
attributes
property -
parentNode
property -
childNodes
property -
– addChildNode:
-
– removeChildNode:
-
– removeAllChildNodes
-
– debugDescription
-
– text
Properties
attributes
The attributes of the receiver.
@property (nonatomic, copy) NSDictionary *attributes
Declared In
DTHTMLParserNode.h
childNodes
The child nodes of the receiver
@property (nonatomic, readonly) NSArray *childNodes
Declared In
DTHTMLParserNode.h
Instance Methods
addChildNode:
Adds a child node to the receiver.
- (void)addChildNode:(DTHTMLParserNode *)childNode
Parameters
- childNode
The child node to be appended to the list of children
Declared In
DTHTMLParserNode.h
debugDescription
Hierarchy representation of the receiver including all attributes and children
- (NSString *)debugDescription
Declared In
DTHTMLParserNode.h
initWithName:attributes:
Designated initializer
- (id)initWithName:(NSString *)name attributes:(NSDictionary *)attributes
Return Value
An initialized parser node.
Declared In
DTHTMLParserNode.h
removeAllChildNodes
Removes all child nodes from the receiver
- (void)removeAllChildNodes
Declared In
DTHTMLParserNode.h