docs: @SuppressWarnings({ "rawtypes", "unchecked" })
  	private void setAttribute(NodeConfig nodeConfig, Object targetObject) throws UnmarshalException {
  		Class targetClass = targetObject.getClass();
  		List attributes = nodeConfig.getAttribute();
  		if (attributes != null && attributes.size() > 0) {
  			for (Iterator iterAttr = attributes.iterator(); iterAttr.hasNext();) {
  				AttributeConfig attribute = (AttributeConfig) iterAttr.next();
  				String methodName = Constant.SET_PREFIX + StringUtils.capitalize(attribute.getName());
  				try {
  					Method method = targetClass.getMethod(methodName, String.class);
  					if (method != null) {
  						setMethod(method, targetObject, attribute.getValue());
  					}
  				} catch (NoSuchMethodException e) {
  					if (validation) {
  						throw new UnmarshalException(e);
  					}
  				}
  			}
  		}
  	}