Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::p6IXMLNode2 Interface Referenceabstract

#include <p6xmlnode.h>

Inherits P6R::p6ICom.

Public Member Functions

virtual P6R::P6ERR addAttribute (const P6WCHAR *pName, P6UINT32 nameLength, const P6WCHAR *pValue, P6UINT32 valueLength, const P6WCHAR *pURI, P6UINT32 uriLength)=0
 
virtual P6R::P6ERR addAttribute2 (const P6WCHAR *pName, P6UINT32 nameLength, const P6WCHAR *pValue, P6UINT32 valueLength, const P6WCHAR *pURI, P6UINT32 uriLength, P6XPATH_TYPE type)=0
 
virtual P6R::P6ERR addChild (p6IXMLNode *pNode)=0
 
virtual P6INT32 addref (void)=0
 
virtual P6R::P6ERR addRefWithChildren (void)=0
 
virtual P6R::P6ERR attributeAt (P6UINT32 index, P6GenericAttrib *pAttrib)=0
 
virtual P6R::P6ERR childAt (P6UINT32 index, p6IXMLNode **pChild)=0
 
virtual P6R::P6ERR getAttribute (const P6WCHAR *pName, P6UINT32 nameLength, P6UINT32 instance, const P6WCHAR **pValue, P6UINT32 *pValueLength, const P6WCHAR **pURI, P6UINT32 *pUriLength)=0
 
virtual P6R::P6ERR getAttribute2 (const P6WCHAR *pName, P6UINT32 nameLength, P6UINT32 instance, const P6WCHAR **pValue, P6UINT32 *pValueLength, const P6WCHAR **pURI, P6UINT32 *pUriLength, P6XPATH_TYPE *pType)=0
 
virtual P6R::P6ERR getFloatSortKey (P6FLOAT *pNumber)=0
 
virtual P6R::P6ERR getLocalName (const P6WCHAR **pName, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR getLongSortKey (P6INT64 *pNumber)=0
 
virtual P6R::P6ERR getName (const P6WCHAR **pName, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR getNextNamespace (P6UINT32 *pIndex, const P6WCHAR **pName, P6UINT32 *pNameLength, const P6WCHAR **pValue, P6UINT32 *pValueLength)=0
 
virtual P6R::P6ERR getNodeId (P6UINT32 *pId)=0
 
virtual P6R::P6ERR getNumAttributes (P6UINT32 *pCount)=0
 
virtual P6R::P6ERR getNumberSortKey (P6INT32 *pNumber)=0
 
virtual P6R::P6ERR getNumChildren (P6UINT32 *pCount)=0
 
virtual P6R::P6ERR getOpaqueValue (P6UINT64 *pNumber)=0
 
virtual P6R::P6ERR getParent (p6IXMLNode **pParent)=0
 
virtual P6R::P6ERR getStringSortKey (const P6WCHAR **pString, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR getTimeSortKey (p6IXpathTime **pTime)=0
 
virtual P6R::P6ERR getType (P6XMLNodeType *pType)=0
 
virtual P6R::P6ERR getUniqueName (const P6WCHAR **pName, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR getURI (const P6WCHAR **pURI, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR getValue (const P6WCHAR **pValue, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR getXMLValidName (P6WCHAR defaultChar, const P6WCHAR **pName, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR getXpathValue (P6XPATH_ATOMIZED *pValue)=0
 
virtual P6R::P6ERR initialize (P6XMLNODEFLAGS flags, P6XMLNodeType type, P6BOOL bDynamic, P6UINT32 nodeId)=0
 
virtual P6R::P6ERR isChild (const P6WCHAR *pName, P6UINT32 nameLength, P6UINT32 instance, p6IXMLNode **pExist, P6BOOL *pResult)=0
 
virtual P6R::P6ERR isName (const P6WCHAR *pName, P6UINT32 nameLength, const P6WCHAR *pURI, P6UINT32 uriLength, P6BOOL *pResult)=0
 
virtual P6R::P6ERR isXMLValidName (P6BOOL *pResult)=0
 
virtual P6R::P6ERR nextAttribute (P6GenericAttrib *pAttrib)=0
 
virtual P6R::P6ERR nextChild (p6IXMLNode **pChild)=0
 
virtual P6R::P6ERR outputAsString (p6IDataStream *pStream, P6DOMCHARSET charSet)=0
 
virtual P6R::P6ERR outputSubTree (p6IDataStream *pOutput, P6DOMCHARSET charSet, P6BOOL disableEscaping, P6BOOL omitXMLDecl)=0
 
virtual P6R::P6ERR outputSubTreeInJSON (p6IDataStream *pOutput, P6DOMCHARSET charSet)=0
 
virtual P6R::P6ERR outputSubTreeInJsonML (p6IDataStream *pOutput, P6DOMCHARSET charSet)=0
 
virtual P6R::P6ERR outputSubTreeInKMIPJSON (p6IDataStream *pOutput, P6DOMCHARSET charSet, P6BOOL bSolidusEscaping, P6BOOL bPrettyPrint)=0
 
virtual P6R::P6ERR outputSubTreeInKMIPXML (p6IDataStream *pOutput, P6DOMCHARSET charSet, P6BOOL omitXMLDecl, P6BOOL bPrettyPrint)=0
 
virtual P6R::P6ERR print (void)=0
 
virtual P6R::P6ERR queryInterface (const P6R::P6IID &iid, P6VOID **ppIface)=0
 
virtual P6INT32 release (void)=0
 
virtual P6R::P6ERR releaseRefWithChildren (void)=0
 
virtual P6R::P6ERR removeAttributeAt (P6UINT32 index)=0
 
virtual P6R::P6ERR removeChildAt (P6UINT32 index)=0
 
virtual P6R::P6ERR removeWhiteSpace (void)=0
 
virtual P6R::P6ERR replaceChildAt (P6UINT32 index, p6IXMLNode *pNode)=0
 
virtual P6R::P6ERR resetAttribute (void)=0
 
virtual P6R::P6ERR resetChild (void)=0
 
virtual P6R::P6ERR setFloatSortKey (P6FLOAT number)=0
 
virtual P6R::P6ERR setLongSortKey (P6INT64 number)=0
 
virtual P6R::P6ERR setName (const P6WCHAR *pName, P6UINT32 length)=0
 
virtual P6R::P6ERR setNumberSortKey (P6INT32 number)=0
 
virtual P6R::P6ERR setOpaqueValue (P6UINT64 number)=0
 
virtual P6R::P6ERR setStringSortKey (const P6WCHAR *pString, P6UINT32 length)=0
 
virtual P6R::P6ERR setTimeSortKey (p6IXpathTime *pTime)=0
 
virtual P6R::P6ERR setType (P6XMLNodeType type)=0
 
virtual P6R::P6ERR setURI (const P6WCHAR *pURI, P6UINT32 length)=0
 
virtual P6R::P6ERR setValue (const P6WCHAR *pValue, P6UINT32 length)=0
 
virtual P6R::P6ERR setXpathValue (P6XPATH_ATOMIZED *pValue)=0
 
virtual P6R::P6ERR toDouble (P6FLOAT *pNumber)=0
 
virtual P6R::P6ERR toInteger (P6INT32 *pNumber)=0
 
virtual P6R::P6ERR toString (P6WCHAR *pBuffer, P6UINT32 *pLength)=0
 

Detailed Description

This component represents an element in an XML, JSON, or JsonML document.

So for example, in the XML document: <book><chapter><title>P6R Progammer's Guide</title></chapter></book>, there would be one p6IXMLNode for "book", and one for "chapter", and one for "title". The title node would be a child of the chapter node. The chapter node would be a child of the book node, thus constructing the P6R::p6IDOMXML tree.

Definition at line 1021 of file p6xmlnode.h.


The documentation for this interface was generated from the following file: