code: private T loadLiteralValue(final String str)
  	{
  		// Literal in-memory value
  		final String cachedStr = (inMemoryString != null) ? inMemoryString.get() : null;
  
  		if (StringUtils.equals(str, cachedStr))
  		{
  			// Cached value is still valid!
  		}
  		else
  		{
  			cached = null; // Prevent the old value from being used
  
  			// Cached value is not valid anymore, re-parse
  			setCached(clazz.cast(factory.getInstance(clazz).deserialise(str)));
  
  			inMemoryString = new SoftReference<>(str);
  		}
  
  		return cached;
  	}
docs: Load a literal XML document stored in a config property.
  <p><b>This loader is cache-aware and will only reload if the literal XML value changes</b></p>
  
  @param str
  
  @return