14 #define P6DOMXML_H__ 1
413 #define IF_p6IDOMXML {0x774f828d,0x44ce,0x4e62,{0x86,0xbb,0x71,0xf9,0x39,0x60,0x5a,0xfe}}
416 #define COMP_p6DOMXML {0x15bba122,0x8b01,0x404b,{0xbc,0x4d,0x2e,0x7e,0x12,0x94,0x37,0xa6}}
virtual P6R::P6ERR stripSpace(P6WCHAR *pElementName, P6UINT32 elemLength, P6WCHAR *pNamespaceURI, P6UINT32 uriLength)=0
This method allows the application to define which XML elements should have unnecessary white space s...
const P6R::P6WCHAR * pString
const P6DOMOUTPUT P6DOMOUTPUT_CHARSETUTF8
P6R::p6IXpathTime * ptResult
virtual P6R::P6ERR replaceChildAt(p6IXMLNode *pParent, P6UINT32 index, p6IXMLNode *pNewChild)=0
Replace the nth child of the parent node with the new child node.
P6R's interface of the DOM parser.
virtual P6R::P6ERR isParentOf(const P6WCHAR *pName, P6UINT32 nameLength, const P6WCHAR *pURI, P6UINT32 uriLength, p6IXMLNode *pNode, p6IXMLNode **pFoundAncestor)=0
Is there an XML node with pName that is the immediate parent of the pNode XML node.
This is the main SAX interface.
P6R's C++ Interface of the SAX 2 XML Reader.
The return value form an XPath 2.0 expression evaluation.
Types shared between all XML components.
virtual P6R::P6ERR createNodeSet(p6IXMLNode *pNode, p6IDOMNodeset **pSet)=0
Given a single p6IXNLNode create and return a p6IDOMNodeset.
P6R::p6IDOMNodeset * pNodeSet
virtual P6R::P6ERR initialize(P6DOMXMLFLAGS flags, p6IDataStream *pErrorResult)=0
Sets up the component to run properly.
This interface is an implementation of the following XPath 2.0 time types: xs:date, xs:dateTime, xs:time.
p6IDataStream interface definitions
virtual P6R::P6ERR moveSubTree(p6IXMLNode *pParent, p6IXMLNode *pMoveNode)=0
Move a subtree from the source DOM tree component into the destination DOM tree.
P6XPATH_TYPE
Part of the XPath type system.
virtual P6R::P6ERR getRootNode(p6IXMLNode **pNode)=0
There is always a root node to the DOM XML tree.
wchar_t P6WCHAR
Wide character type see p6i18n.h.
This is the main JSON interface.
This interface is implmented by components that support receiving streamed data.
P6UINT32 P6DOMXMLFLAGS
P6DOMXMLFLAGS.
The base interface all [p6]COM components must derive from and implement.
This interface is an enumerator over a set of nodes resulting from the evaluation of an XPath express...
const P6DOMOUTPUT P6DOMOUTPUT_JSONML
virtual P6R::P6ERR parse(p6IDataStream **pInData)=0
This method returns an XML stream for the caller to stream the XML into.
const P6DOMOUTPUT P6DOMOUTPUT_KMIPJSON
const P6DOMOUTPUT P6DOMOUTPUT_KMIPJSON_SOLIDUS_ESCAPE
virtual P6R::P6ERR setJSONParser(p6IJSONReader *pReader)=0
The caller can use their own implementation of the p6IJSONReader interface.
This interface is an enumerator over a set of nodes resulting from the evaluation of an XPath express...
virtual P6R::P6ERR parseMessage(p6IIoBuffer *pMsg)=0
This method is used for clients that want to parse block oriented (non-streaming) messages into the D...
This component represents an element in an XML or JSON document.
const P6DOMOUTPUT P6DOMOUTPUT_KMIPXML
virtual P6R::P6ERR resetStripSpace()=0
Deletes all previous values defined by calls to stripSpace() method.
virtual P6R::P6ERR resetPreserveSpace()=0
Deletes all previous values defined by calls to preserveSpace() method.
P6UINT32 P6DOMOUTPUT
P6DOMOUTPUT.
virtual P6R::P6ERR output(p6IDataStream *pStream, P6DOMOUTPUT flags)=0
Serialize the DOM document into the pStream parameter in one of the supported formats: { XML...
P6R::P6BSTR encodedBinary
virtual P6R::P6ERR isAncestorOf(const P6WCHAR *pName, P6UINT32 nameLength, const P6WCHAR *pURI, P6UINT32 uriLength, p6IXMLNode *pNode, p6IXMLNode **pFoundAncestor)=0
Is there an XML node with pName that is an ancestor somewhere in the tree of the pNode XML node...
const P6DOMOUTPUT P6DOMOUTPUT_XML
virtual P6R::P6ERR setSAXParser(p6ISAX2XMLReader *pReader)=0
The caller can use their own implementation of the p6ISAX2XMLReader interface.
P6R's C++ Interface of a SAX-like JSON Reader.
virtual P6R::P6ERR preserveSpace(P6WCHAR *pElementName, P6UINT32 elemLength, P6WCHAR *pNamespaceURI, P6UINT32 uriLength)=0
This method allows the application to define which XML elements should not have unnecessary white spa...
const P6DOMOUTPUT P6DOMOUTPUT_JSON