private static void loadActionCodeMapFromXML() {
		if (!operateCodeMap.isEmpty())
			return;
		String xml = "";
		if (xml == null || xml.isEmpty())
			xml = "/com/toolkit2/client/ActionCode.xml";
		try {
			InputStream is = FreeUtil.class.getResource(xml).openStream();
			DocumentBuilderFactory factory = DocumentBuilderFactory
					.newInstance();
			DocumentBuilder builder = factory.newDocumentBuilder();
			Document doc = builder.parse(is);
			NodeList nodes = doc.getElementsByTagName("codeType");
			int length = nodes.getLength();
			for (int i = 0; i < length; i++) {
				Element node = (Element) nodes.item(i);
				String type = node.getAttribute("id");
				NodeList list = node.getElementsByTagName("code");
				int len = list.getLength();
				for (int j = 0; j < len; j++) {
					Element child = (Element) list.item(j);
					String code = child.getAttribute("id");
					String className = child.getAttribute("className").trim();
					String description = child.getAttribute("description");
					String condition = child.getAttribute("condition").trim();
					boolean visible = condition == "true" ? true : false;
					if (description == null || description.trim().isEmpty()) {
						description = getDescription(className, type);
						child.setAttribute("description", description);
					}
					OperateCode operateCode = new OperateCode(code, type,
							className, description);
					operateCode.setVisible(visible);
					operateCodeMap.put(code, operateCode);
				}

			}

			initMoreOperateCode();
		} catch (Exception e) {

		}
	}