Search in sources :

Example 1 with LocalisedCharacterStringType

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;
}
Also used : LocalisedCharacterStringType(org.isotc211.x2005.gmd.LocalisedCharacterStringType)

Aggregations

LocalisedCharacterStringType (org.isotc211.x2005.gmd.LocalisedCharacterStringType)1