xmlnode.h

Go to the documentation of this file.
00001 
00015 #ifndef XMLNODE_H_INCLUDED
00016 #define XMLNODE_H_INCLUDED
00017 
00018 #include <LibXmlKit/xmlobject.h>
00019 
00023 typedef enum {
00025         XML_NODE_STATE_INIT
00026 } XmlNodeState ;
00027 
00034 @interface XmlNode : XmlObject 
00035 {
00037         xmlNodePtr      xml_node_ptr ;
00039         XmlNodeState    node_state ;
00040 }
00041 
00049   + newElement: (const xmlChar *) name ;
00050 
00058   + newText: (const xmlChar *) text ;
00059   
00069   - initXmlNode: (xmlNodePtr) node ;
00070   
00079   - (xmlNodePtr) nodePtr ;
00080   
00087   - (xmlElementType) type ;
00088   
00095   - (XmlNodeState) state ;
00096   
00105   - (const xmlChar *) name ;
00106   
00113   - (void) setName: (const xmlChar *) name ;
00114  
00125   - setAttr: (const xmlChar *) name value: (const xmlChar *) value ;
00126 
00133   - (const xmlChar *) getAttrValue: (const xmlChar *) name ;
00134 
00142   - (int) lineNo ;
00143   
00152   - (void) setText: (const xmlChar *) src length: (size_t) len ;
00153 
00160   - (const xmlChar *) getText ;
00161 
00169   - (BOOL) isBlankText ;
00170   
00177   - (XmlNode *) next ;
00178   
00187   - (XmlNode *) next: (xmlElementType) type ;
00188   
00198   - (XmlNode *) next: (xmlElementType) typ1 or: (xmlElementType) typ2 ;
00199   
00206   - (XmlNode *) parent ;
00207   
00215   - (XmlNode *) child ;
00216   
00227   - (XmlNode *) child: (xmlElementType) type ;
00228   
00240   - (XmlNode *) child: (xmlElementType) typ1 or: (xmlElementType) typ2 ;
00241   
00249   - (XmlNode *) lastChild ;
00250   
00261   - (XmlNode *) lastChild: (xmlElementType) type ;
00262   
00274   - (XmlNode *) lastChild: (xmlElementType) typ1 or: (xmlElementType) typ2 ;
00275   
00285   - addSibling: (XmlNode *) node withFollowers: (BOOL) followers ;
00286 
00296   - addChild: (XmlNode *) node withFollowers: (BOOL) followers ;
00297   
00305   - duplicate: (BOOL) withchild ;
00306   
00314   - (void) unlink: (BOOL) withfollowers ;
00315  
00324   - (void) replaceBy: (XmlNode *) src ;
00325 
00334   - (void) print: (FILE *) outfp ;
00335 
00336 @end
00337 
00338 #endif /* XMLNODE_H_INCLUDED */
00339 

Generated on Fri Feb 3 01:21:24 2006 for LibXmlKit by  doxygen 1.4.5