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

#include <p6domxml.h>

Inherits P6R::p6ICom.

Public Member Functions

virtual P6INT32 addref (void)=0
 
virtual P6R::P6ERR createNodeSet (p6IXMLNode *pNode, p6IDOMNodeset **pSet)=0
 
virtual P6R::P6ERR getRootNode (p6IXMLNode **pNode)=0
 
virtual P6R::P6ERR initialize (P6DOMXMLFLAGS flags, p6IDataStream *pErrorResult)=0
 
virtual P6R::P6ERR isAncestorOf (const P6WCHAR *pName, P6UINT32 nameLength, const P6WCHAR *pURI, P6UINT32 uriLength, p6IXMLNode *pNode, p6IXMLNode **pFoundAncestor)=0
 
virtual P6R::P6ERR isParentOf (const P6WCHAR *pName, P6UINT32 nameLength, const P6WCHAR *pURI, P6UINT32 uriLength, p6IXMLNode *pNode, p6IXMLNode **pFoundAncestor)=0
 
virtual P6R::P6ERR moveSubTree (p6IXMLNode *pParent, p6IXMLNode *pMoveNode)=0
 
virtual P6R::P6ERR output (p6IDataStream *pStream, P6DOMOUTPUT flags)=0
 
virtual P6R::P6ERR parse (p6IDataStream **pInData)=0
 
virtual P6R::P6ERR parseMessage (p6IIoBuffer *pMsg)=0
 
virtual P6R::P6ERR preserveSpace (P6WCHAR *pElementName, P6UINT32 elemLength, P6WCHAR *pNamespaceURI, P6UINT32 uriLength)=0
 
virtual P6R::P6ERR queryInterface (const P6R::P6IID &iid, P6VOID **ppIface)=0
 
virtual P6INT32 release (void)=0
 
virtual P6R::P6ERR replaceChildAt (p6IXMLNode *pParent, P6UINT32 index, p6IXMLNode *pNewChild)=0
 
virtual P6R::P6ERR resetPreserveSpace (void)=0
 
virtual P6R::P6ERR resetStripSpace (void)=0
 
virtual P6R::P6ERR setJSONParser (p6IJSONReader *pReader)=0
 
virtual P6R::P6ERR setSAXParser (p6ISAX2XMLReader *pReader)=0
 
virtual P6R::P6ERR stripSpace (P6WCHAR *pElementName, P6UINT32 elemLength, P6WCHAR *pNamespaceURI, P6UINT32 uriLength)=0
 

Detailed Description

P6R's interface of the DOM parser.

This interface is used by our XPath 2.0 interface P6R::p6IXpathExpression. This DOM component can represent both XML and JSON as a tree of nodes using XPath expressions and the following set of methods to access those nodes. An application could walk the DOM tree by using the functions in this interface along with the functions in the P6R::p6IXMLNode interface (e.g., getRootNode(), nextChild()). While such navigation is possible the use of XPATH and XSLT is easier and recommended.

Definition at line 102 of file p6domxml.h.


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