class CCL::XmlTreeExtractor
Overview
#include <xmltree.h> class XmlTreeExtractor: public CCL::XmlTreeParser { public: // methods void addSupportedTag (CCL::StringRef tag); virtual CCL::tresult CCL_API startElement ( CCL::StringRef name, const CCL::IStringDictionary& attributes ); virtual CCL::tresult CCL_API endElement (CCL::StringRef name); virtual CCL::tresult CCL_API characterData ( const uchar* data, int length, tbool isCDATA ); };
Inherited Members
public: // 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 );
Detailed Documentation
Methods
virtual CCL::tresult CCL_API startElement ( CCL::StringRef name, const CCL::IStringDictionary& attributes )
Notification of the beginning of an element.
A corresponding endElement call will follow.
virtual CCL::tresult CCL_API endElement (CCL::StringRef name)
Notification of the end of an element.
virtual CCL::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.