XMLNameSpace.h 565 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * XMLNameSpace.h
  3. *
  4. * Created on: May 27, 2018
  5. * Author: hp
  6. */
  7. #ifndef XMLNAMESPACE_H_
  8. #define XMLNAMESPACE_H_
  9. class ResStringPool;
  10. class XMLNameSpace {
  11. public:
  12. XMLNameSpace();
  13. XMLNameSpace(const ResStringPool& string_pool, const char* data);
  14. void dump();
  15. uint32_t serialize(ResStringPool& string_pool, char** data);
  16. uint32_t serialize_end(ResStringPool& string_pool, char** data);
  17. const char* get(const char* uri) const;
  18. virtual ~XMLNameSpace();
  19. const char* _name = nullptr;
  20. const char* _uri = nullptr;
  21. };
  22. #endif /* XMLNAMESPACE_H_ */