Back to project page psiandroid.
The source code is released under:
GNU General Public License
If you think the Android project psiandroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.phpsysinfo.xml; /* ww w . j av a 2s . c o m*/ import java.util.ArrayList; import java.util.List; public class PSIPrinter { private String name = ""; private List<PSIPrinterItem> item = new ArrayList<PSIPrinterItem>(); private List<String> messages = new ArrayList<String>(); public PSIPrinter(String name) { this.name = name; } public String getName() { return name; } public List<PSIPrinterItem> getItem() { return item; } public void addItem(PSIPrinterItem item) { this.item.add(item); } public List<String> getMessages() { return messages; } public void addMessages(String messages) { this.messages.add(messages); } public void setPrinter(String printer) { this.name = printer; } }