Here you can find the source of parseConfigAttr(NamedNodeMap attributes)
private static String[] parseConfigAttr(NamedNodeMap attributes)
//package com.java2s; //License from project: Apache License import org.w3c.dom.NamedNodeMap; public class Main { private static String[] parseConfigAttr(NamedNodeMap attributes) { String key = attributes.getNamedItem("key").getTextContent(); String value = attributes.getNamedItem("value").getTextContent(); return new String[] { key, value }; }// w w w.j av a2 s. c o m }