}
private static String getTiplocForStopPoint(StopPointStructure stopPoint) {
StopClassificationStructure classification = stopPoint.getStopClassification();
OffStreet offstreet = classification.getOffStreet();
if (offstreet == null) {
return null;
}
Rail rail = offstreet.getRail();
if (rail == null) {
return null;
}
for (AnnotatedRailRefStructure ref : rail.getAnnotatedRailRef()) {
if (ref.getTiplocRef() != null) {