Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

xmlnode.m File Reference

XmlNode class definition. More...

#include <LibXmlKit/xmlnode.h>
#include <LibXmlKit/xmlmem.h>

Functions

 if (src==NULL) return nil
return xml_mem_node_ptr2obj (newnode)
id initXmlNode: (id, xmlNodePtr, id node, id, id xml_node_ptr, id, id node,)
xmlElementType type ()
XmlNodeState node_state ()
xml_node_ptr->type==XML_ELEMENT_NODE name: (id, id NULL,)
void setName: (id, const xmlChar *, id name, id, id, xml_node_ptr->type==XML_ELEMENT_NODE &&name!=NULL if, xml_node_ptr, name xmlNodeSetName,)
id setAttr:value: (id, const xmlChar *, id name,[value] id, const xmlChar *, id value, id, name==NULL if, id return, id nil,)
 if (value)
const xmlChar * getAttrValue: (id, const xmlChar *, id attrname, id, id return, xml_node_ptr, attrname xmlGetProp,)
xml_node_ptr XML_GET_LINE ()
void setText:length: (id, const xmlChar *, id src,[length] id, size_t, id len, id, xml_node_ptr, src, len xmlNodeSetContentLen,)
xml_node_ptr xmlNodeGetContent ()
xml_node_ptr xmlIsBlankNode ()
XmlNodenextptr ()
 if ((nextptr=xml_node_ptr->next)!=NULL)
XmlNodenext: (id, xmlElementType, id type, id, id xmlNodePtr, id nextptr,)
 for (nextptr=xml_node_ptr->next;nextptr;nextptr=nextptr->next)
XmlNodenext:or: (id, xmlElementType, id typ1,[or] id, xmlElementType, id typ2, id, id xmlNodePtr, id nextptr,)
XmlNodeparentptr ()
 if ((parentptr=xml_node_ptr->parent)!=NULL)
XmlNodecptr ()
 if ((cptr=xml_node_ptr->children)!=NULL)
XmlNodechild: (id, xmlElementType, id type, id, id xmlNodePtr, id cptr,)
 for (cptr=xml_node_ptr->children;cptr;cptr=cptr->next)
XmlNodechild:or: (id, xmlElementType, id typ1,[or] id, xmlElementType, id typ2, id, id xmlNodePtr, id cptr,)
 if ((cptr=xmlGetLastChild(xml_node_ptr))!=NULL)
XmlNodelastChild: (id, xmlElementType, id type, id, id xmlNodePtr, id cptr,)
XmlNodelastChild:or: (id, xmlElementType, id typ1,[or] id, xmlElementType, id typ2, id, id xmlNodePtr, id cptr,)
id addSibling:withFollowers: (id, XmlNode *, id node,[withFollowers] id, BOOL, id followers, id, id xmlNodePtr, id nodeptr,)
 if (node==nil||(nodeptr=[(XmlNode *) node nodePtr])==NULL) return nil
 if (followers)
id addChild:withFollowers: (id, XmlNode *, id node,[withFollowers] id, BOOL, id followers, id, id xmlNodePtr, id nodeptr,)
XmlNodeduplicate: (id, BOOL, id withchild, id, id xmlNodePtr, id dupnode,)
 if (withchild)
void unlink: (id, BOOL, id withfollowers, id, id xmlNodePtr, id node,)
 if (withfollowers)
else xmlUnlinkNode (xml_node_ptr)
void replaceBy: (id, XmlNode *, id src, id, xml_node_ptr,[src nodePtr] xmlReplaceNode,)
xmlNodePtr xml_node_ptr ()
void print: (id, FILE *, id outfp, id, outfp,"(xml-node("fprintf,)
 switch (xml_node_ptr->type)
 fputs ("))", outfp)

Variables

 newnode = xmlNewNode(NULL, src)
 node_state = XML_NODE_STATE_INIT
 return [super init]
else return nil
xmlElementType ntype
xmlNodePtr lptr = NULL
xmlNodePtr newptr
xmlNodePtr next


Detailed Description

XmlNode class definition.

Date:
2004.02.14
Author:
Steel Wheels Project
Copyright
Copyright (C) 2004 Steel Wheels Project. All right reserved.
Description
XmlNode class definition. XmlNode class operates the node of xml data structure in XmlDoc object.

Generated on Mon Jul 19 20:04:09 2004 for LibXmlKit by doxygen 1.3.6