Package slash.navigation.gopal.binding5

Examples of slash.navigation.gopal.binding5.RouteOptions$RoadUsageTypes$IPDRoads


        }
        return new GoPalRoute(this, null, tour.getRouteOptions(), positions);
    }

    public void read(InputStream source, CompactCalendar startDate, ParserContext<GoPalRoute> context) throws Exception {
        Tour tour = unmarshal5(source);
        GoPalRoute process = process(tour);
        if (process != null)
            context.appendRoute(process);
    }
View Full Code Here


        return destination;
    }

    private Tour createGoPal(GoPalRoute route, int startIndex, int endIndex) {
        ObjectFactory objectFactory = new ObjectFactory();
        Tour tour = objectFactory.createTour();
        tour.setRouteOptions(createRouteOptions(route));

        for (int i = startIndex; i < endIndex; i++) {
            GoPalPosition position = route.getPosition(i);

            if (i == startIndex) {
                tour.setStart(createStart(position));
            } else {
                tour.getDestination().add(createDestination(position));
            }
        }
        return tour;
    }
View Full Code Here

TOP

Related Classes of slash.navigation.gopal.binding5.RouteOptions$RoadUsageTypes$IPDRoads

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.