code: public CmsUrlNameMappingFilter filterNamePattern(String namePattern) {
  
          if (namePattern == null) {
              throw new IllegalArgumentException();
          }
          CmsUrlNameMappingFilter result = new CmsUrlNameMappingFilter(this);
          result.m_namePattern = namePattern;
          return result;
      }
docs: Creates a new filter from the current filter which also has to match a given name pattern.<p>
  
  @param namePattern the name pattern which should be matched
  
  @return a new filter