Code example for NamedNodeMap

Methods: getNamedItem

0
	} 
 
	// Private Methods --------------------------------------------------------- 
 
	private static String getAttribute(NamedNodeMap atts, String key) {
		Node node = atts.getNamedItem(key);
		return (node == null) ? null : node.getNodeValue();
	} 
}