private static String getProperPrefixURI ( String prefixUri ) { if ( ! prefixUri . endsWith ( "#" ) ) { if ( ! prefixUri . endsWith ( "/" ) ) { String defaultSeparator = EntityCreationPreferences . getDefaultSeparator ( ) ; if ( ! prefixUri . endsWith ( defaultSeparator ) ) { prefixUri += defaultSeparator ; } } } return prefixUri ; }
A utility method to ensure a proper naming for prefix URI