test_class.file: geoserver/webapp/api-composer/src/test/java/com/boundlessgeo/geoserver/util/NameUtilTest.java
test_class.identifier: NameUtilTest
test_case.body: @Test
      public void testSanitize() {
          assertEquals("us_states", NameUtil.sanitize("us states"));
          assertEquals("us_states", NameUtil.sanitize("us%20states"));
          assertEquals("us_states", NameUtil.sanitize("us  states"));
          assertEquals("us_states", NameUtil.sanitize("us %20\\/#?states"));
      }
test_case.class_method_signature: NameUtilTest.testSanitize()
test_case.full_signature: @Test public void testSanitize()
test_case.identifier: testSanitize
test_case.invocations: assertEquals sanitize assertEquals sanitize assertEquals sanitize assertEquals sanitize
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSanitize()
focal_class.declarator: PATTERN = "(?:%[0-9A-Fa-f][0-9A-Fa-f]|[ :\\\\/#?])+"
focal_class.modifier: static final
focal_class.original_string: static final String PATTERN = "(?:%[0-9A-Fa-f][0-9A-Fa-f]|[ :\\\\/#?])+";
focal_class.type: String
focal_class.var_name: PATTERN
focal_class.file: geoserver/webapp/api-composer/src/main/java/com/boundlessgeo/geoserver/util/NameUtil.java
focal_class.identifier: NameUtil
focal_class.class_method_signature: NameUtil.isValid(String name)
focal_class.full_signature: public static boolean isValid(String name)
focal_class.identifier: isValid
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean isValid(String name)
focal_class.class_method_signature: NameUtil.sanitize(String name)
focal_class.full_signature: public static String sanitize(String name)
focal_class.identifier: sanitize
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String sanitize(String name)
focal_class.class_method_signature: NameUtil.sanitize(String name, String replacement)
focal_class.full_signature: public static String sanitize(String name, String replacement)
focal_class.identifier: sanitize
focal_class.modifiers: public static
focal_class.parameters: (String name, String replacement)
focal_class.return: String
focal_class.signature: String sanitize(String name, String replacement)
focal_class.class_method_signature: NameUtil.sanitizeEnsureUnique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog)
focal_class.full_signature: public static String sanitizeEnsureUnique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog)
focal_class.identifier: sanitizeEnsureUnique
focal_class.modifiers: public static
focal_class.parameters: (String name, Class<? extends CatalogInfo> clazz, Catalog catalog)
focal_class.return: String
focal_class.signature: String sanitizeEnsureUnique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog)
focal_class.class_method_signature: NameUtil.sanitizeEnsureUnique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog, String replacement)
focal_class.full_signature: public static String sanitizeEnsureUnique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog, String replacement)
focal_class.identifier: sanitizeEnsureUnique
focal_class.modifiers: public static
focal_class.parameters: (String name, Class<? extends CatalogInfo> clazz, Catalog catalog, String replacement)
focal_class.return: String
focal_class.signature: String sanitizeEnsureUnique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog, String replacement)
focal_class.class_method_signature: NameUtil.unique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog)
focal_class.full_signature: public static String unique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog)
focal_class.identifier: unique
focal_class.modifiers: public static
focal_class.parameters: (String name, Class<? extends CatalogInfo> clazz, Catalog catalog)
focal_class.return: String
focal_class.signature: String unique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog)
focal_method.body: public static String sanitize(String name) {
          return sanitize(name, null);
      }
focal_method.class_method_signature: NameUtil.sanitize(String name)
focal_method.full_signature: public static String sanitize(String name)
focal_method.identifier: sanitize
focal_method.invocations: sanitize
focal_method.modifiers: public static
focal_method.parameters: (String name)
focal_method.return: String
focal_method.signature: String sanitize(String name)