ResIdValue is now not serializable to XML.

This commit is contained in:
Ryszard Wiśniewski 2010-03-23 23:21:18 +01:00
parent da2b21472e
commit 62ff8d58df

View File

@ -17,20 +17,8 @@
package brut.androlib.res.data.value;
import brut.androlib.AndrolibException;
import brut.androlib.res.data.ResResource;
import java.io.IOException;
import org.xmlpull.v1.XmlSerializer;
/**
* @author Ryszard Wiśniewski <brut.alll@gmail.com>
*/
public class ResIdValue extends ResValue {
public void serializeToXml(XmlSerializer serializer, ResResource res)
throws IOException, AndrolibException {
serializer.startTag(null, "item");
serializer.attribute(null, "type", "id");
serializer.attribute(null, "name", res.getResSpec().getName());
serializer.endTag(null, "item");
}
}