#import <CSvgNode.h>
Inherits < CSvgAcceptor >.
Inherited by CSvgContainerNode.
Inheritance diagram for CSvgNode:
Public Member Functions | |
| (id) | - initWithParent:parser:attributes: |
| (CSvgNode *) | - parentSvgNode |
| (void) | - accept: [implementation] |
Protected Attributes | |
| CSvgNode * | m_parentSvgNode |
| - (id) initWithParent: | (CSvgNode *) | theParentSvgNode | ||
| parser: | (NSXMLParser *) | theParser | ||
| attributes: | (NSDictionary *) | theAttributes | ||
Initializes the current SVG node.
| theAttributes | the SVG attributes. | |
| theParentSvgNode | the parental SVG node. | |
| theParser | the XML parser. |
Reimplemented in CSvgContainerNode.
00029 : (CSvgNode*) theParentSvgNode 00030 parser: (NSXMLParser*) theParser 00031 attributes: (NSDictionary*) theAttributes 00032 { 00033 self = [super init]; 00034 00035 if( self ) 00036 { 00037 // Set the parental SVG node. 00038 [theParentSvgNode retain]; 00039 m_parentSvgNode = theParentSvgNode; 00040 00041 // Set self as the XML parser delegate. 00042 [theParser setDelegate: self]; 00043 } 00044 00045 return self; 00046 }
| - (CSvgNode *) parentSvgNode |
| - (void) accept: | (CSvgVisitor *) | aSvgVisitor | [implementation] |
Accepts the given visitor.
| aSvgVisitor | the visitor to accept. |
Reimplemented from < CSvgAcceptor >.
00024 : (CSvgVisitor*) aSvgVisitor 00025 { 00026 }
- (CSvgNode*) m_parentSvgNode [protected] |
The parental SVG node.
1.5.1