else throw new RuntimeException("unexpected element: " + name);
else return parser.nextText();
    protected Object parseType(String name) throws IOException, XmlPullParserException {	//	System.out.println("type:"+name);        if (name.equals("int") || name.equals("i4"))            return new Integer(Integer.parseInt(parser.nextText()));        else if (name.equals("array"))            return parseArray();        else if (name.equals("string"))            return parser.nextText();        else if (name.equals("struct"))            return parseStruct();        else            throw new RuntimeException("unexpected element: " + name);    }