@Override
 protected void serializeExtraXmlAttrs(XmlSerializer serializer, ResResource res)
     throws IOException {
   if (ResXmlEncoders.hasMultipleNonPositionalSubstitutions(mRawValue)) {
     serializer.attribute(null, "formatted", "false");
   }
 }
 @Override
 public String encodeAsResXmlItemValue() {
   return ResXmlEncoders.enumerateNonPositionalSubstitutionsIfRequired(
       ResXmlEncoders.encodeAsXmlValue(mRawValue));
 }
 @Override
 public String encodeAsResXmlValue() {
   return ResXmlEncoders.encodeAsXmlValue(mRawValue);
 }
 @Override
 public String encodeAsResXmlAttr() {
   return checkIfStringIsNumeric(ResXmlEncoders.encodeAsResXmlAttr(mRawValue));
 }