class OpenLREncoder implements openlr.OpenLREncoder {

    @Override
    public LocationReferenceHolder encodeLocation(
            final OpenLREncoderParameter parameter, final Location loc)
            throws OpenLRProcessingException {
        return encodeLocation(parameter,
                new OpenLREncoderProperties(parameter.getConfiguration(), parameter.getPhysicalEncoders()), loc);
    }

}