/** * Adds the specified identifier as a CRS authority factory. This is used as a convenience * method for the creation of constants, and for making sure that all of them use the same * identifier type. */ final void addAuthority(final String identifier, final boolean asTitle) { if (asTitle) { getAlternateTitles().add(new SimpleInternationalString(identifier)); } getIdentifiers().add(new IdentifierImpl(identifier)); }
final String engine = metadata.getDatabaseProductName(); final CitationImpl c = new CitationImpl(Citations.EPSG); c.getAlternateTitles() .add( Vocabulary.formatInternational(
final String engine = metadata.getDatabaseProductName(); final CitationImpl c = new CitationImpl(Citations.EPSG); c.getAlternateTitles() .add( Vocabulary.formatInternational(
/** * Adds the specified identifier as a CRS authority factory. This is used as a convenience * method for the creation of constants, and for making sure that all of them use the same * identifier type. */ final void addAuthority(final String identifier, final boolean asTitle) { if (asTitle) { getAlternateTitles().add(new SimpleInternationalString(identifier)); } getIdentifierTypes().add("Authority name"); getIdentifiers().add(identifier); }
/** * Adds the specified identifier as a CRS authority factory. This is used as a convenience * method for the creation of constants, and for making sure that all of them use the same * identifier type. */ final void addAuthority(final String identifier, final boolean asTitle) { if (asTitle) { getAlternateTitles().add(new SimpleInternationalString(identifier)); } getIdentifiers().add(new IdentifierImpl(identifier)); }