X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/9cf1eae99dfeb475960ee74d8f010def438769a3..e479d6b4128eda325813fb1a704c2c5e947723f8:/XMLNode.h diff --git a/XMLNode.h b/XMLNode.h index a9bea43..05624b7 100644 --- a/XMLNode.h +++ b/XMLNode.h @@ -25,6 +25,7 @@ status_t parseStyledString(Bundle* bundle, const String16& endTag, String16* outString, Vector* outSpans, + bool isFormatted, bool isPseudolocalizable); void printXMLBlock(ResXMLTree* block); @@ -95,6 +96,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 +127,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 +194,9 @@ private: String8 mFilename; int32_t mStartLineNumber; int32_t mEndLineNumber; + + // Encode compiled XML with UTF-8 StringPools? + bool mUTF8; }; #endif