Code example for NamedNodeMap

Methods: getNamedItem

0
		String text = shortNodeName;
		 
		if ("properties".equals(shortNodeName)) {
			text += " ";
			if (BeansContentOutlineConfiguration.isShowAttributes()) { 
				attr = attrs.getNamedItem("id");
				if (attr != null) {
					text += attr.getNodeValue() + " ";
				} 
				attr = attrs.getNamedItem("location");
				if (attr != null) {
					text += "[" + attr.getNodeValue() + "]";
				} 
			} 
		} 
		else if ("property-path".equals(shortNodeName)) {
			text += " ";
			if (BeansContentOutlineConfiguration.isShowAttributes()) { 
				attr = attrs.getNamedItem("id");
				if (attr != null) {
					text += attr.getNodeValue() + " ";
				} 
				attr = attrs.getNamedItem("path");
				if (attr != null) {
					text += "[" + attr.getNodeValue() + "]";
				} 
			} 
		} 
		else if ("constant".equals(shortNodeName)) {
			text += " ";
			if (BeansContentOutlineConfiguration.isShowAttributes()) { 
				attr = attrs.getNamedItem("id");
				if (attr != null) {
					text += attr.getNodeValue() + " ";
				} 
				attr = attrs.getNamedItem("static-field");
				if (attr != null) {
					text += "[" + attr.getNodeValue() + "]";
				} 
			} 
		} 
		else if ("set".equals(shortNodeName)) {
			text += " ";
			if (BeansContentOutlineConfiguration.isShowAttributes()) { 
				attr = attrs.getNamedItem("id");
				if (attr != null) {
					text += attr.getNodeValue() + " ";
				} 
				attr = attrs.getNamedItem("set-class");
				if (attr != null) {
					text += "[" + attr.getNodeValue() + "]";
				} 
			} 
		} 
		else if ("list".equals(shortNodeName)) {
			text += " ";
			if (BeansContentOutlineConfiguration.isShowAttributes()) { 
				attr = attrs.getNamedItem("id");
				if (attr != null) {
					text += attr.getNodeValue() + " ";
				} 
				attr = attrs.getNamedItem("list-class");
				if (attr != null) {
					text += "[" + attr.getNodeValue() + "]";
				} 
			} 
		} 
		else if ("map".equals(shortNodeName)) {
			text += " ";
			if (BeansContentOutlineConfiguration.isShowAttributes()) { 
				attr = attrs.getNamedItem("id");
				if (attr != null) {
					text += attr.getNodeValue() + " ";
				} 
				attr = attrs.getNamedItem("map-class");
				if (attr != null) {