
org.opentripplanner.netex.mapping.MultilingualStringMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
The newest version!
package org.opentripplanner.netex.mapping;
import javax.annotation.Nullable;
import org.opentripplanner.framework.lang.StringUtils;
import org.rutebanken.netex.model.MultilingualString;
public class MultilingualStringMapper {
@Nullable
public static String nullableValueOf(@Nullable MultilingualString multilingualString) {
if (multilingualString == null) {
return null;
}
String value = multilingualString.getValue();
if (StringUtils.hasNoValue(value)) {
return null;
}
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy