/** * Takes the element before the tip as the code space. * * @param name the name from which to get the code space, or {@code null}. * @param locale the locale, or {@code null} for a call to {@code name.toString()}. * @return the code space, or {@code null} if none. */ public static String getCodeSpace(final GenericName name, final Locale locale) { final GenericName scope = scope(name.tip()); return (scope != null) ? toString(scope.tip(), locale) : null; }
/** * Takes the element before the tip as the code space. * * @param name the name from which to get the code space, or {@code null}. * @param locale the locale, or {@code null} for a call to {@code name.toString()}. * @return the code space, or {@code null} if none. */ public static String getCodeSpace(final GenericName name, final Locale locale) { final GenericName scope = scope(name.tip()); return (scope != null) ? toString(scope.tip(), locale) : null; }
addIdentifier(codespace, NameToIdentifier.toString(alias, locale)); name = null; if (isBrief) {
addIdentifier(codespace, NameToIdentifier.toString(alias, locale)); name = null; if (isBrief) {