class CCL::XmlTreeParserWithPI
Overview
#include <xmltree.h> class XmlTreeParserWithPI: public CCL::XmlTreeParser, public CCL::XmlProcessingInstructionHandler { public: // methods virtual tresult CCL_API startElement ( StringRef name, const IStringDictionary& attributes ); virtual tresult CCL_API endElement (StringRef name); virtual tresult CCL_API characterData ( const uchar* data, int length, tbool isCDATA ); virtual tresult CCL_API processingInstruction (StringRef target, StringRef data); };
Inherited Members
public: // enums enum ProcessingOptions; // fields IXmlContentHandler; // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0; Unknown& operator = (const Unknown&); unsigned int getRetainCount () const; virtual tresult CCL_API startElement ( StringRef name, const IStringDictionary& attributes ) = 0; virtual tresult CCL_API endElement (StringRef name) = 0; virtual tresult CCL_API characterData ( const uchar* data, int length, tbool isCDATA ) = 0; virtual tresult CCL_API processingInstruction (StringRef target, StringRef data) = 0; virtual tresult CCL_API startNamespace (StringRef prefix, StringRef uri) = 0; virtual tresult CCL_API endNamespace (StringRef prefix) = 0; bool parse (IStream& stream); bool parse (UrlRef path); StringRef getErrorMessage () const; void setSilentOnErrors (tbool state); virtual tresult CCL_API startElement ( StringRef name, const IStringDictionary& attributes ); virtual tresult CCL_API endElement (StringRef name); virtual tresult CCL_API characterData ( const uchar* data, int length, tbool isCDATA ); virtual tresult CCL_API processingInstruction (StringRef target, StringRef data); virtual tresult CCL_API startNamespace (StringRef prefix, StringRef uri); virtual tresult CCL_API endNamespace (StringRef prefix); PROPERTY_BOOL (textEnabled, TextEnabled); IgnoreWhitespace XmlNode* getRoot (); virtual tresult CCL_API startElement ( StringRef name, const IStringDictionary& attributes ); virtual tresult CCL_API endElement (StringRef name); virtual tresult CCL_API characterData ( const uchar* data, int length, tbool isCDATA ); void handleInstruction (StringRef target, StringRef data); static const char* getPlatform (); static const char* getPlatformArchitecture (); static const char* getConfiguration (int processingOptions = 0);
Detailed Documentation
Methods
virtual tresult CCL_API startElement ( StringRef name, const IStringDictionary& attributes )
Notification of the beginning of an element.
A corresponding endElement call will follow.
virtual tresult CCL_API endElement (StringRef name)
Notification of the end of an element.
virtual tresult CCL_API characterData ( const uchar* data, int length, tbool isCDATA )
Notification of character data.
Can be called several times with small chunks of a single entity.
virtual tresult CCL_API processingInstruction (StringRef target, StringRef data)
Notification of processing instruction (<?target data?>).