private ParseBeanConfig parseBeanInfo(Node parent) {
		ParseBeanConfig config = new ParseBeanConfig();
		
		NodeList nodeList = parent.getChildNodes();
		for (int i = 0, size = nodeList.getLength(); i < size; i++) {
			Node node = nodeList.item(i);
			if (!(node instanceof Element)) {
				continue;
			}
			
			Element ele = (Element)node;
			String nodeName = ele.getNodeName();
			if ("tag".equalsIgnoreCase(nodeName)) {
				config.setTag(getAttr(ele, "name"));
			} else if ("class".equals(nodeName)) {
				ParseClassConfig classConfig = new ParseClassConfig();
				classConfig.setClassName(getAttr(ele, "name"));
				parse(classConfig, ele);
				
				config.setClassConfig(classConfig);
			} else if ("method".equals(nodeName)) {
				ParseMethodConfig methodConfig = new ParseMethodConfig();
				methodConfig.setMethodName(getAttr(ele, "name"));
				parse(methodConfig, ele);
				
				config.addMethod(methodConfig.getMethodName(), methodConfig);
			}
		}
		
		// 如果tag不存在，则使用class name作为tag
		ParseClassConfig classInfo = config.getClassConfig();
		if (null == config.getTag() && null != classInfo) {
			config.setTag(classInfo.getClassName());
		}
		
		if (null == classInfo || null == classInfo.getClassName()) {
			return null;
		}
		
		return config;
	}