docs: public NodeConfig parser(InputStreamReader xml) throws UnmarshalException {
  
  		NodeConfig config = new NodeConfig();
  		SAXBuilder builder = new SAXBuilder(false);
  		Document doc = null;
  
  		try {
  			doc = builder.build(xml);
  			config = parserNode(doc.getRootElement());
  
  			xml.close();
  			return config;
  		} catch (JDOMException e) {
  			throw new UnmarshalException(e);
  		} catch (IOException e) {
  			throw new UnmarshalException(e);
  		}
  	}