code: public static CmsJspContentAccessValueWrapper createWrapper(
          CmsObject cms,
          I_CmsXmlContentValue value,
          I_CmsXmlDocument content,
          String valueName,
          Locale locale) {
  
          if ((value != null) && (cms != null)) {
              return new CmsJspContentAccessValueWrapper(cms, value);
          }
          if ((content != null) && (valueName != null) && (locale != null) && (cms != null)) {
              CmsJspContentAccessValueWrapper wrapper = new CmsJspContentAccessValueWrapper();
              wrapper.m_nullValueInfo = new NullValueInfo(content, valueName, locale);
              wrapper.m_cms = cms;
              return wrapper;
          }
          // if no value is available,
          return NULL_VALUE_WRAPPER;
      }
docs: Factory method to create a new XML content value wrapper.<p>
  
  In case either parameter is <code>null</code>, the {@link #NULL_VALUE_WRAPPER} is returned.<p>
  
  @param cms the current users OpenCms context
  @param value the value to warp
  @param content the content document, required to set the null value info
  @param valueName the value path name
  @param locale the selected locale
  
  @return a new content value wrapper instance, or <code>null</code> if any parameter is <code>null</code>