24 #ifndef __ISAXAttributes_h__ 25 #define __ISAXAttributes_h__ 27 #include "IPMUnknown.h" 29 #include "XMLParserID.h" 90 enum { kDefaultIID = IID_ISAXATTRIBUTES };
92 typedef std::vector< std::pair<WideString, WideString> > NamespaceDecl;
108 virtual void Adopt(
const char** attributes, bool16 namespaced,
ISAXServices* owner,
const NamespaceDecl& namespaceDecls) = 0;
348 virtual bool16 GetAttributeBool(
const PMString& key, bool16 defaultValue = kFalse)
const = 0;
349 virtual bool16 GetAttributeBool(
const WideString& key, bool16 defaultValue = kFalse)
const = 0;
351 virtual int32 GetAttributeInt(
const PMString& key, int32 defaultValue = 0)
const = 0;
352 virtual int32 GetAttributeInt(
const WideString& key, int32 defaultValue = 0)
const = 0;