X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/7e486e3393be690b0541d30339e50177fa07e64b..dcfa6438188a1b8e6138f3b4d3a0a98459a1223b:/XMLNode.h diff --git a/XMLNode.h b/XMLNode.h index a9bea43..e9a263b 100644 --- a/XMLNode.h +++ b/XMLNode.h @@ -95,6 +95,8 @@ public: const attribute_entry* getAttribute(const String16& ns, const String16& name) const; + attribute_entry* editAttribute(const String16& ns, const String16& name); + const String16& getCData() const; const String16& getComment() const; @@ -124,6 +126,8 @@ public: void removeWhitespace(bool stripAll=true, const char** cDataTags=NULL); + void setUTF8(bool val) { mUTF8 = val; } + status_t parseValues(const sp& assets, ResourceTable* table); status_t assignResourceIds(const sp& assets, @@ -189,6 +193,9 @@ private: String8 mFilename; int32_t mStartLineNumber; int32_t mEndLineNumber; + + // Encode compiled XML with UTF-8 StringPools? + bool mUTF8; }; #endif