/**
 * Container for link between two Osm nodes
 *
 * @author ab
 */
package cgeo.geocaching.brouter.core;

import cgeo.geocaching.brouter.expressions.BExpressionContextNode;
import cgeo.geocaching.brouter.expressions.BExpressionContextWay;

import java.util.Map;

final class StdModel extends OsmPathModel {
    protected BExpressionContextWay ctxWay;
    protected BExpressionContextNode ctxNode;

    public OsmPrePath createPrePath() {
        return null;
    }

    public OsmPath createPath() {
        return new StdPath();
    }

    @Override
    public void init(final BExpressionContextWay expctxWay, final BExpressionContextNode expctxNode, final Map<String, String> keyValues) {
        ctxWay = expctxWay;
        ctxNode = expctxNode;
    }
}
