code: String getConfigString() throws XPathExpressionException {
  		ganglia = getXmlNode("/jmxetric-config/ganglia", inputSource);
  		String hostname = getHostName();
  		int port = getPort();
  		UDPAddressingMode addressingMode = getAddressingMode();
  		boolean v31x = getV31();
  		String spoof = getSpoof();
  
  		StringBuilder buf = new StringBuilder();
  		buf.append("GMetric host=").append(hostname);
  		buf.append(" port=").append(port);
  		buf.append(" mode=").append(addressingMode);
  		buf.append(" v31x=").append(v31x);
  		buf.append(" spoof=").append(spoof);
  		return buf.toString();
  	}
docs: Method used by tests to print out the read in configuration.
  
  @return string representation of configuration
  @throws XPathExpressionException