code: private List<String> preparePrefixes() {
          // Prepare prefixes for all schemas
          List<String> prefixes = new ArrayList<String>(Schema.values().length + (local ? 3 : 0));
          for (Schema schema : Schema.values()) {
              prefixes.add(schema.getPrefix());
          }
  
          // For local URls prefixes are "./", "../", "/"
          if (local) {
              Collections.addAll(prefixes, LOCAL_PREFIXES);
          }
          return prefixes;
      }
docs: Prepare URL's prefixes.
  
  @return list of schema prefixes and local prefixes if local URL are allowed.