Locale locale = Locale.getDefault(); addValue("locale", locale.toString());  InputStreamReader is = new InputStreamReader(System.in); addValue("charset", is.getEncoding());
	private void genVMStatus() throws SAXException {		AttributesImpl atts = new AttributesImpl();		this.contentHandler.startElement(NAMESPACE, "system", PREFIX + ":system", atts);				this.contentHandler.startElement(NAMESPACE, "memory", PREFIX + ":memory", atts);		addValue("total", String.valueOf(Runtime.getRuntime().totalMemory()));		addValue("free", String.valueOf(Runtime.getRuntime().freeMemory()));		addValue("max", String.valueOf(Runtime.getRuntime().maxMemory()));		this.contentHandler.endElement(NAMESPACE, "memory", PREFIX + ":memory");				this.contentHandler.startElement(NAMESPACE, "jvm", PREFIX + ":jvm", atts);		addValue("version", System.getProperty("java.version"));		addValue("vendor", System.getProperty("java.vendor"));		this.contentHandler.endElement(NAMESPACE, "jvm", PREFIX + ":jvm");				this.contentHandler.startElement(NAMESPACE, "os", PREFIX + ":os", atts);		addValue("name", System.getProperty("os.name"));		addValue("architecture", System.getProperty("os.arch"));		addValue("version", System.getProperty("os.version"));		this.contentHandler.endElement(NAMESPACE, "os", PREFIX + ":os");				this.contentHandler.endElement(NAMESPACE, "system", PREFIX + ":system");	}