use of org.isotc211.x2005.gmd.LocalisedCharacterStringType in project arctic-sea by 52North.
the class Iso19139GmdEncoder method encodeLocalisedCharacterStringType.
private LocalisedCharacterStringType encodeLocalisedCharacterStringType(LocalisedCharacterString localisedCharacterString) {
LocalisedCharacterStringType lcst = LocalisedCharacterStringType.Factory.newInstance();
lcst.setStringValue(localisedCharacterString.getValue());
if (localisedCharacterString.isSetLocale()) {
lcst.setLocale(localisedCharacterString.getLocale());
}
return lcst;
}
Aggregations