@Test public void testCompoundingRelaxed() { URIUtils.PrefixCreationMode prefixCreationMode = URIUtils.PrefixCreationMode.DO_NOT_CREATE; URIUtils.ShortformStrictness strictness = URIUtils.ShortformStrictness.ALLOW_HASHES; String result; result = URIUtils.getShortform(uri9, strictness, prefixCreationMode); System.out.println("Shortened " + uri9 + " -> " + result); assertFalse("Short form results in an invalid localname", result.contains("/")); }
public static String getShortform(URI uri) { return getShortform(getPrefixMappings(), uri, DEFAULT_SHORTFORM_STRICTNESS, DEFAULT_PREFIX_CREATION_MODE); }
URIUtils { public static String getShortform(URI uri) { return getShortform(getPrefixMappings(), uri, DEFAULT_SHORTFORM_STRICTNESS, DEFAULT_PREFIX_CREATION_MODE); } }
URIUtils { public static String getShortform(URI uri) { return getShortform(getPrefixMappings(), uri, DEFAULT_SHORTFORM_STRICTNESS, DEFAULT_PREFIX_CREATION_MODE); }  }
URIUtils { public static String getShortform(URI uri) { return getShortform(getPrefixMappings(), uri, DEFAULT_SHORTFORM_STRICTNESS, DEFAULT_PREFIX_CREATION_MODE); }  synchronized static Map<String, String> getPrefixMappings(); synchronized static Map<String, String> loadPrefixMappings(); static String getShortform(URI uri); static String getShortform(URI uri, ShortformStrictness strictness); static String getShortform(URI uri, ShortformStrictness strictness, PrefixCreationMode prefixCreationMode); static String getShortform(final Map<String, String> prefixMappings, URI uri); static String getShortform(final Map<String, String> prefixMappings,
                                      URI uri,
                                      ShortformStrictness strictness,
                                      PrefixCreationMode prefixCreationMode); static URI getURI(String shortform); static URI getURI(final Map<String, String> prefixMappings, String shortform); static URI getNamespace(String shortform); static URI getNamespace(final Map<String, String> prefixMappings, String shortform); static String getFragment(String shortform); static URI extractNamespace(URI uri); static String extractFragment(URI uri); static boolean isNamespaceKnown(URI uri); static URI normalizeURI(String uriStr); static URI normalizeURI(URI uri); static URI incrementURI(ZoomaDAO dao, URI uri); }
URIUtils { public static String getShortform(URI uri) { return getShortform(getPrefixMappings(), uri, DEFAULT_SHORTFORM_STRICTNESS, DEFAULT_PREFIX_CREATION_MODE); }  synchronized static Map<String, String> getPrefixMappings(); synchronized static Map<String, String> loadPrefixMappings(); static String getShortform(URI uri); static String getShortform(URI uri, ShortformStrictness strictness); static String getShortform(URI uri, ShortformStrictness strictness, PrefixCreationMode prefixCreationMode); static String getShortform(final Map<String, String> prefixMappings, URI uri); static String getShortform(final Map<String, String> prefixMappings,
                                      URI uri,
                                      ShortformStrictness strictness,
                                      PrefixCreationMode prefixCreationMode); static URI getURI(String shortform); static URI getURI(final Map<String, String> prefixMappings, String shortform); static URI getNamespace(String shortform); static URI getNamespace(final Map<String, String> prefixMappings, String shortform); static String getFragment(String shortform); static URI extractNamespace(URI uri); static String extractFragment(URI uri); static boolean isNamespaceKnown(URI uri); static URI normalizeURI(String uriStr); static URI normalizeURI(URI uri); static URI incrementURI(ZoomaDAO dao, URI uri); static final PrefixCreationMode DEFAULT_PREFIX_CREATION_MODE; static final ShortformStrictness DEFAULT_SHORTFORM_STRICTNESS; static final URI SEARCH_NONE; }